[sip-comm-cvs] CVS update: /sip-communicator/src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolProviderServiceYahooImpl.java

damencho at dev.java.net damencho at dev.java.net
Tue Apr 17 18:20:45 CEST 2007


User: damencho
Date: 2007-04-17 16:20:45+0000
Log:
 Added missing log for yahoo protocol exceptions

File Changes:

Directory: /sip-communicator/src/net/java/sip/communicator/impl/protocol/yahoo/
===============================================================================

File [changed]: ProtocolProviderServiceYahooImpl.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolProviderServiceYahooImpl.java?r1=1.3&r2=1.4
Delta lines:  +11 -1
--------------------
--- ProtocolProviderServiceYahooImpl.java	2007-02-27 15:28:30+0000	1.3
+++ ProtocolProviderServiceYahooImpl.java	2007-04-17 16:20:43+0000	1.4
@@ -494,6 +494,16 @@
         
         public void inputExceptionThrown(SessionExceptionEvent ev)
         {
+            if(ev.getException() instanceof YMSG9BadFormatException)
+            {
+                logger.error("Yahoo protocol exception occured exception",
+                    ev.getException());
+                logger.error("Yahoo protocol exception occured exception cause", 
+                    ((YMSG9BadFormatException)ev.getException().getCause()));
+            }
+            else
+                logger.error("Yahoo protocol exception occured", ev.getException());
+
             unregister(false);
             if(isRegistered())
                 fireRegistrationStateChanged(




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator.dev.java.net





More information about the commits mailing list