Class OpenFailException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- net.schmizz.sshj.common.SSHException
-
- net.schmizz.sshj.connection.ConnectionException
-
- net.schmizz.sshj.connection.channel.OpenFailException
-
- All Implemented Interfaces:
java.io.Serializable
public class OpenFailException extends ConnectionException
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OpenFailException.Reason
-
Field Summary
-
Fields inherited from class net.schmizz.sshj.connection.ConnectionException
chainer
-
-
Constructor Summary
Constructors Constructor Description OpenFailException(java.lang.String channelType, int reasonCode, java.lang.String message)
OpenFailException(java.lang.String channelType, OpenFailException.Reason reason, java.lang.String message)
-
Method Summary
Modifier and Type Method Description java.lang.String
getChannelType()
java.lang.String
getMessage()
OpenFailException.Reason
getReason()
java.lang.String
toString()
-
Methods inherited from class net.schmizz.sshj.common.SSHException
getDisconnectReason
-
-
-
-
Constructor Detail
-
OpenFailException
public OpenFailException(java.lang.String channelType, int reasonCode, java.lang.String message)
-
OpenFailException
public OpenFailException(java.lang.String channelType, OpenFailException.Reason reason, java.lang.String message)
-
-
Method Detail
-
getChannelType
public java.lang.String getChannelType()
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classSSHException
-
getReason
public OpenFailException.Reason getReason()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSSHException
-
-