com.sshtools.j2ssh.transport
Class MessageNotRegisteredException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bycom.sshtools.j2ssh.SshException
                  extended bycom.sshtools.j2ssh.transport.MessageNotRegisteredException
All Implemented Interfaces:
java.io.Serializable

public class MessageNotRegisteredException
extends SshException

Thrown by the message store when a message is added which is not registered.

Since:
0.2.0
See Also:
Serialized Form

Constructor Summary
MessageNotRegisteredException(java.lang.Integer messageId)
           Constructs the exception.
MessageNotRegisteredException(java.lang.Integer messageId, SshMessageStore store)
           Consructs the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageNotRegisteredException

public MessageNotRegisteredException(java.lang.Integer messageId)

Constructs the exception.

Parameters:
messageId - the id of the message not registered
Since:
0.2.0

MessageNotRegisteredException

public MessageNotRegisteredException(java.lang.Integer messageId,
                                     SshMessageStore store)

Consructs the exception.

Parameters:
messageId - the id of the message not registered
store - the message store
Since:
0.2.0