|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.sun.media.jsdt.JSDTException
JSDTException
is the super class of all JSDT exceptions.
It is provided as a means for catching all JSDT exceptions without
having to catch them individually. It provides convenience methods to
determine what type of exception has been thrown.
Field Summary | |
static int |
ALREADY_BOUND
The already bound exception type. |
static int |
CLIENT_NOT_GRABBING
The Client not grabbing exception type. |
static int |
CLIENT_NOT_RELEASED
The Client not released exception type. |
static int |
CONNECTION_ERROR
The Connection error exception type. |
static int |
INVALID_CLIENT
The invalid Client exception type. |
static int |
INVALID_URL
The invalid URL exception type. |
static int |
MANAGER_EXISTS
The manager exists exception type. |
static int |
NAME_IN_USE
The name in use exception type. |
static int |
NO_REGISTRY
The no Registry exception type. |
static int |
NO_SUCH_BYTEARRAY
The no such ByteArray exception type. |
static int |
NO_SUCH_CHANNEL
The no such Channel exception type. |
static int |
NO_SUCH_CLIENT
The no such Client exception type. |
static int |
NO_SUCH_CONSUMER
The no such Consumer exception type. |
static int |
NO_SUCH_HOST
The no such Host exception type. |
static int |
NO_SUCH_LISTENER
The no such Listener exception type. |
static int |
NO_SUCH_MANAGER
The no such Manager exception type. |
static int |
NO_SUCH_SESSION
The no such Session exception type. |
static int |
NO_SUCH_TOKEN
The no such Token exception type. |
static int |
NOT_BOUND
The not bound exception type. |
static int |
PERMISSION_DENIED
The permission denied exception type. |
static int |
PORT_IN_USE
The port in use exception type. |
static int |
REGISTRY_EXISTS
The Registry exists exception type. |
static int |
TIMED_OUT
The timed out exception type. |
static int |
UNKNOWN
The unknown exception type. |
Constructor Summary | |
JSDTException()
thrown if there is any kind of error in processing a JSDT request. |
|
JSDTException(int type)
thrown if there is any kind of error in processing a JSDT request. |
|
JSDTException(java.lang.String s)
thrown if there is any kind of error in processing a JSDT request. |
Method Summary | |
int |
getType()
the type of this JSDT exception. |
java.lang.String |
toString()
converts this JSDT exception into a string describing it. |
java.lang.String |
typeToString(int type)
typeToString converts an exception type into a String describing it. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int UNKNOWN
public static final int NO_SUCH_BYTEARRAY
public static final int NO_SUCH_CHANNEL
public static final int NO_SUCH_CLIENT
public static final int NO_SUCH_CONSUMER
public static final int NO_SUCH_HOST
public static final int NO_SUCH_LISTENER
public static final int NO_SUCH_SESSION
public static final int NO_SUCH_TOKEN
public static final int MANAGER_EXISTS
public static final int PERMISSION_DENIED
public static final int CLIENT_NOT_GRABBING
public static final int CLIENT_NOT_RELEASED
public static final int INVALID_URL
public static final int NO_REGISTRY
public static final int ALREADY_BOUND
public static final int NOT_BOUND
public static final int NAME_IN_USE
public static final int REGISTRY_EXISTS
public static final int CONNECTION_ERROR
public static final int PORT_IN_USE
public static final int TIMED_OUT
public static final int NO_SUCH_MANAGER
public static final int INVALID_CLIENT
Constructor Detail |
public JSDTException()
public JSDTException(java.lang.String s)
s
- a string describing the exception thrown.public JSDTException(int type)
type
- the type of this JSDT exception.Method Detail |
public int getType()
public java.lang.String toString()
public java.lang.String typeToString(int type)
type
- the exception type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |