--- experimental/server/XMLReader/XMLPacketMaker.java 2000/11/17 12:16:39 1.11 +++ experimental/server/XMLReader/XMLPacketMaker.java 2000/11/17 12:44:47 1.12 @@ -35,14 +35,14 @@ public class XMLPacketMaker extends HandlerBase { SAXParser saxParser = factory.newSAXParser(); saxParser.parse(xml, new XMLPacketParser(packet)); - // Print out the entire contents of the packet's HashMap. - System.out.println("XMLPacket contents: -"); - packet.printAll(); - } - catch (Exception e) { + catch (IOException e){ + System.out.println("IOException: "+e); + } + catch (Throwable t) { System.out.println("XMLPacketMaker - I just received an XML packet that did not contain valid XML."); - System.out.println(e); + //System.out.println(e); + t.printStackTrace(); return null; }