diff options
author | Valentin Martinet <vmartinet@java.net> | 2010-01-27 16:14:09 +0000 |
---|---|---|
committer | Valentin Martinet <vmartinet@java.net> | 2010-01-27 16:14:09 +0000 |
commit | a536ca8f982041c246ee05ce2f12c4ebc42f790b (patch) | |
tree | 660dbe33a260f10f733e83ee0cbb7c7dd5ca038a /src/net/java/sip/communicator/impl/protocol/yahoo | |
parent | e435577727e53bee6cbad5d4f6cec9267bb0c963 (diff) | |
download | jitsi-a536ca8f982041c246ee05ce2f12c4ebc42f790b.zip jitsi-a536ca8f982041c246ee05ce2f12c4ebc42f790b.tar.gz jitsi-a536ca8f982041c246ee05ce2f12c4ebc42f790b.tar.bz2 |
Fixed a ClassCastException.
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/yahoo')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolProviderServiceYahooImpl.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolProviderServiceYahooImpl.java b/src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolProviderServiceYahooImpl.java index 572d327..bd2ca79 100644 --- a/src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolProviderServiceYahooImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/yahoo/ProtocolProviderServiceYahooImpl.java @@ -459,10 +459,11 @@ public class ProtocolProviderServiceYahooImpl logger.error("Yahoo protocol exception occured exception", ev.getException()); logger.error("Yahoo protocol exception occured exception cause", - ((YMSG9BadFormatException)ev.getException().getCause())); + ev.getException().getCause()); } else - logger.error("Yahoo protocol exception occured", ev.getException()); + logger.error( + "Yahoo protocol exception occured", ev.getException()); unregister(false); if(isRegistered()) |