com.sshtools.j2ssh
Class SshException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bycom.sshtools.j2ssh.SshException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConfigurationException, InvalidProfileFileException, MessageAlreadyRegisteredException, MessageNotRegisteredException, TransportProtocolException

public class SshException
extends java.io.IOException

The base exception for all exceptions thrown within the J2SSH application framework.

Since:
0.2.0
See Also:
Serialized Form

Constructor Summary
SshException(java.lang.String msg)
           Constructs an exception.
SshException(java.lang.Throwable cause)
           Constructs an 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

SshException

public SshException(java.lang.String msg)

Constructs an exception.

Parameters:
msg - The error message
Since:
0.2.0

SshException

public SshException(java.lang.Throwable cause)

Constructs an exception.

Parameters:
cause - The cause of the exception
Since:
0.2.1