Class SshException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    WindowClosedException

    public class SshException
    extends java.io.IOException
    Represents an SSH related exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SshException​(int disconnectCode)  
      SshException​(int disconnectCode, java.lang.String message)  
      SshException​(int disconnectCode, java.lang.String message, java.lang.Throwable cause)  
      SshException​(int disconnectCode, java.lang.Throwable cause)  
      SshException​(java.lang.String message)  
      SshException​(java.lang.String message, java.lang.Throwable cause)  
      SshException​(java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getDisconnectCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • disconnectCode

        private final int disconnectCode
    • Constructor Detail

      • SshException

        public SshException​(java.lang.String message)
      • SshException

        public SshException​(java.lang.Throwable cause)
      • SshException

        public SshException​(java.lang.String message,
                            java.lang.Throwable cause)
      • SshException

        public SshException​(int disconnectCode)
      • SshException

        public SshException​(int disconnectCode,
                            java.lang.String message)
      • SshException

        public SshException​(int disconnectCode,
                            java.lang.Throwable cause)
      • SshException

        public SshException​(int disconnectCode,
                            java.lang.String message,
                            java.lang.Throwable cause)
    • Method Detail

      • getDisconnectCode

        public int getDisconnectCode()