com.sshtools.j2ssh.transport
Class InvalidMessageException

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

public class InvalidMessageException
extends SshException

SshMessage and its subclasses throw this exception when the message data is incorrect.

Causes: Possible corrupt data.

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

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

InvalidMessageException

public InvalidMessageException(java.lang.String msg)

Constructs the exception.

Parameters:
msg - The exception reason


Copyright © 2002 Sshtools.com. All Rights Reserved.