public class ChannelOpenException
extends java.lang.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(java.lang.String msg,
int reason) |
| Modifier and Type | Method and Description |
|---|---|
int |
getReason() |
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
Copyright © 2022. All rights reserved.