powered by Jive Software

PacketReader.java exception printing

PacketReader.java has a method called ‘‘notifyConnectionError’’ which notifies all listeners when a connection related exception is thrown. In the method there is a call to print the stack trace regardless of if the developer has set XMPPConnection.DEBUG_ENABLED. Would it be possible to see the print stack trace to be conditional on if XMPPConnection.DEBUG_ENABLED is true?

Thanks - AYAL