Commit 23af13f1 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Minor cleanup.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@7934 b35dd754-fafc-0310-a699-88a17e54d16e
parent 012baaac
......@@ -288,12 +288,6 @@ public class MSNListener extends MsnAdapter {
}
else if (throwable.getClass().getName().equals("net.sf.jml.exception.MsnProtocolException")) {
Log.debug("MSN: Protocol exception: "+throwable.toString());
// Message m = new Message();
// m.setType(Message.Type.error);
// m.setTo(msnSession.getJIDWithHighestPriority());
// m.setFrom(msnSession.getTransport().getJID());
// m.setBody("MSN error: "+throwable.toString());
// msnSession.getTransport().sendPacket(m);
}
else if (throwable.getClass().getName().equals("net.sf.jml.exception.MsgNotSendException")) {
msnSession.getTransport().sendMessage(
......@@ -305,21 +299,9 @@ public class MSNListener extends MsnAdapter {
}
else if (throwable.getClass().getName().equals("net.sf.jml.exception.UnknownMessageException")) {
Log.debug("MSN: Unknown message: "+throwable.toString());
// Message m = new Message();
// m.setType(Message.Type.error);
// m.setTo(msnSession.getJIDWithHighestPriority());
// m.setFrom(msnSession.getTransport().getJID());
// m.setBody("Unknown message from MSN: "+throwable.toString());
// msnSession.getTransport().sendPacket(m);
}
else if (throwable.getClass().getName().equals("net.sf.jml.exception.UnsupportedProtocolException")) {
Log.debug("MSN: Protocol error: "+throwable.toString());
// Message m = new Message();
// m.setType(Message.Type.error);
// m.setTo(msnSession.getJIDWithHighestPriority());
// m.setFrom(msnSession.getTransport().getJID());
// m.setBody("MSN protocol error: "+throwable.toString());
// msnSession.getTransport().sendPacket(m);
}
else if (throwable.getClass().getName().equals("java.io.IOException")) {
Log.debug("MSN: IO error: "+throwable.toString());
......@@ -333,13 +315,6 @@ public class MSNListener extends MsnAdapter {
}
else {
Log.debug("MSN: Unknown error: "+throwable.toString());
// Message m = new Message();
// m.setType(Message.Type.error);
// m.setTo(msnSession.getJIDWithHighestPriority());
// m.setFrom(msnSession.getTransport().getJID());
// m.setBody("Unknown error from MSN: "+throwable.toString());
// throwable.printStackTrace();
// msnSession.getTransport().sendPacket(m);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment