public class ChannelOpenException extends Exception
Modifier and Type | Field and Description |
---|---|
static int |
ADMINISTRATIVIVELY_PROHIBITED
The administrator does not permit this channel to be opened
|
static int |
CONNECT_FAILED
The connection could not be established
|
static int |
RESOURCE_SHORTAGE
There are no more resources available to open the channel
|
static int |
UNKNOWN_CHANNEL_TYPE
The channel type is unknown
|
Constructor and Description |
---|
ChannelOpenException(String msg,
int reason) |
Modifier and Type | Method and Description |
---|---|
int |
getReason() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int ADMINISTRATIVIVELY_PROHIBITED
public static final int CONNECT_FAILED
public static final int UNKNOWN_CHANNEL_TYPE
public static final int RESOURCE_SHORTAGE
public ChannelOpenException(String msg, int reason)
Copyright © 2024. All rights reserved.