Package com.sshtools.common.ssh
Class ChannelOpenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sshtools.common.ssh.ChannelOpenException
- All Implemented Interfaces:
Serializable
Exception thrown when a channel cannot be opened, the reason for which should
be specified in with any of the constants defined here.
- Author:
- Lee David Painter
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe administrator does not permit this channel to be openedstatic final intThe connection could not be establishedstatic final intThere are no more resources available to open the channelstatic final intThe channel type is unknown -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ADMINISTRATIVIVELY_PROHIBITED
public static final int ADMINISTRATIVIVELY_PROHIBITEDThe administrator does not permit this channel to be opened- See Also:
-
CONNECT_FAILED
public static final int CONNECT_FAILEDThe connection could not be established- See Also:
-
UNKNOWN_CHANNEL_TYPE
public static final int UNKNOWN_CHANNEL_TYPEThe channel type is unknown- See Also:
-
RESOURCE_SHORTAGE
public static final int RESOURCE_SHORTAGEThere are no more resources available to open the channel- See Also:
-
-
Constructor Details
-
ChannelOpenException
-
-
Method Details
-
getReason
public int getReason()
-