# | Line 40 | Line 40 | public class XMLPacketMaker extends HandlerBase { | |
---|---|---|
40 | packet.printAll(); | |
41 | ||
42 | } | |
43 | < | catch (Throwable t) { |
44 | < | System.out.println("The recieved packet did not contain valid XML, so I'm gonna reject it."); |
45 | < | //t.printStackTrace (); |
43 | > | catch (Exception e) { |
44 | > | System.out.println("XMLPacketMaker - I just received an XML packet that did not contain valid XML."); |
45 | > | System.out.println(e); |
46 | > | return null; |
47 | } | |
48 | ||
49 | return packet; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |