ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/experimental/server/XMLReader/XMLPacketMaker.java
(Generate patch)

Comparing experimental/server/XMLReader/XMLPacketMaker.java (file contents):
Revision 1.10 by pjm2, Fri Nov 17 11:07:32 2000 UTC vs.
Revision 1.11 by pjm2, Fri Nov 17 12:16:39 2000 UTC

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines