com.mindbright.ssh2
Class SSH2Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.mindbright.ssh2.SSH2Exception
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SSH2AccessDeniedException, SSH2ConnectException, SSH2EOFException, SSH2FatalException, SSH2KEXFailedException, SSH2SignatureException, SSH2UserCancelException

public abstract class SSH2Exception
extends java.lang.Exception

See Also:
Serialized Form

Field Summary
protected  java.lang.Throwable rootCause
           
 
Constructor Summary
SSH2Exception(java.lang.String message)
           
SSH2Exception(java.lang.String message, java.lang.Throwable rootCause)
           
 
Method Summary
 java.lang.Throwable getRootCause()
           
 
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
 

Field Detail

rootCause

protected java.lang.Throwable rootCause
Constructor Detail

SSH2Exception

public SSH2Exception(java.lang.String message)

SSH2Exception

public SSH2Exception(java.lang.String message,
                     java.lang.Throwable rootCause)
Method Detail

getRootCause

public java.lang.Throwable getRootCause()