JML

net.sf.jml.exception
Class MsnProtocolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.jml.exception.JmlException
                  extended by net.sf.jml.exception.MsnProtocolException
All Implemented Interfaces:
Serializable

public class MsnProtocolException
extends JmlException

The exception that MSN protocol returned.

Author:
Roger Chen
See Also:
Serialized Form

Constructor Summary
MsnProtocolException(int errorCode, MsnIncomingMessage incoming, MsnOutgoingMessage outgoing)
           
 
Method Summary
 int getErrorCode()
           
 MsnIncomingMessage getIncomingMessage()
           
 MsnOutgoingMessage getOutgoingMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MsnProtocolException

public MsnProtocolException(int errorCode,
                            MsnIncomingMessage incoming,
                            MsnOutgoingMessage outgoing)
Method Detail

getErrorCode

public int getErrorCode()

getIncomingMessage

public MsnIncomingMessage getIncomingMessage()

getOutgoingMessage

public MsnOutgoingMessage getOutgoingMessage()

toString

public String toString()
Overrides:
toString in class Throwable

JML