|
||||||||||
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 | +--jain.jcp.ResourceUnavailableException
This exception indicates that a resource inside the system is not available to complete
an operation. The type embodied in this exception clarifies what is not available and is
obtained via the getType()
method in this class.
Field Summary | |
static int |
NO_DIALTONE
No dialtone detected. |
static int |
OBSERVER_LIMIT_EXCEEDED
The number of observers existing already reached the limit. |
static int |
ORIGINATOR_UNAVAILABLE
The originating device was not available for this action. |
static int |
OUTSTANDING_METHOD_EXCEEDED
The internal resources to handle another method have been exceeded. |
static int |
TRUNK_LIMIT_EXCEEDED
The number of trunks which are currently in use has been exceeded. |
static int |
UNKNOWN
Indicates the specific reason is unspecified. |
static int |
UNSPECIFIED_LIMIT_EXCEEDED
An internal resource, unspecified by the implementation, has been exceeded. |
static int |
USER_RESPONSE
A user has not responded in the time allowed by an implementation. |
Constructor Summary | |
ResourceUnavailableException(int type)
Constructor, takes a type but no string. |
Method Summary | |
int |
getType()
Return the type of the exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
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 ORIGINATOR_UNAVAILABLE
public static final int OBSERVER_LIMIT_EXCEEDED
public static final int TRUNK_LIMIT_EXCEEDED
public static final int OUTSTANDING_METHOD_EXCEEDED
public static final int UNSPECIFIED_LIMIT_EXCEEDED
public static final int NO_DIALTONE
public static final int USER_RESPONSE
Constructor Detail |
public ResourceUnavailableException(int type)
Method Detail |
public int getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |