com.maverick.ssh
Class ChannelOpenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.maverick.ssh.ChannelOpenException
- All Implemented Interfaces:
- java.io.Serializable
- public class ChannelOpenException
- extends java.lang.Exception
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:
- Serialized Form
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 |
ADMINISTRATIVIVELY_PROHIBITED
public static final int ADMINISTRATIVIVELY_PROHIBITED
- The administrator does not permit this channel to be opened
- See Also:
- Constant Field Values
CONNECT_FAILED
public static final int CONNECT_FAILED
- The connection could not be established
- See Also:
- Constant Field Values
UNKNOWN_CHANNEL_TYPE
public static final int UNKNOWN_CHANNEL_TYPE
- The channel type is unknown
- See Also:
- Constant Field Values
RESOURCE_SHORTAGE
public static final int RESOURCE_SHORTAGE
- There are no more resources available to open the channel
- See Also:
- Constant Field Values
ChannelOpenException
public ChannelOpenException(java.lang.String msg,
int reason)
getReason
public int getReason()
Copyright © 2003 3SP LTD. All Rights Reserved.