com.sshtools.j2ssh.transport
Class MessageAlreadyRegisteredException

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

public class MessageAlreadyRegisteredException
extends SshException

The transport layer throws this exception when a service or protocol tries to register a message id that has already been registered by another service or protocol

NOTE: Each message id can only be registered once.

CAUSES: Was the message unregistered by a previous service/protocol instance?

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

Constructor Summary
MessageAlreadyRegisteredException(java.lang.Integer messageId)
           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

MessageAlreadyRegisteredException

public MessageAlreadyRegisteredException(java.lang.Integer messageId)

Constructs the exception.

Parameters:
messageId - The message id that was already registered.


Copyright © 2002 Sshtools.com. All Rights Reserved.