com.sshtools.j2ssh.transport
Class MessageNotRegisteredException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sshtools.j2ssh.SshException
                    |
                    +--com.sshtools.j2ssh.transport.MessageNotRegisteredException
All Implemented Interfaces:
java.io.Serializable

public class MessageNotRegisteredException
extends SshException

The transport layer throws this exception when an attempt is made to unregister a message that has not been registered.

CAUSES:
Did you register it in the first place!
Was it yours to unregister!

Version:
1.0
Author:
Lee David Painter ( lee@sshtools.com )
See Also:
Serialized Form

Constructor Summary
MessageNotRegisteredException(java.lang.Integer messageId)
           Constructs the exception.
MessageNotRegisteredException(java.lang.Integer messageId, SshMessageStore store)
           Constructs 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 message id of the unregistered message

MessageNotRegisteredException

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

Constructs the exception.

Parameters:
messageId - The message id of the unregistered message.
store - The message store object that tried to unregister the message.


Copyright © 2002 Sshtools.com. All Rights Reserved.