com.sshtools.j2ssh.transport
Class InvalidMessageException

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.TransportProtocolException
                      extended bycom.sshtools.j2ssh.transport.InvalidMessageException
All Implemented Interfaces:
java.io.Serializable

public class InvalidMessageException
extends TransportProtocolException

Thrown by SshMessage implementations when an invalid message is found.

Since:
0.2.0
See Also:
Serialized Form

Constructor Summary
InvalidMessageException(java.lang.String msg)
           Constructs the message.
 
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

InvalidMessageException

public InvalidMessageException(java.lang.String msg)

Constructs the message.

Parameters:
msg - the error description
Since:
0.2.0