|
JSR-043: JTAPI-1.4 | ||||||||
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 | +--javax.telephony.ResourceUnavailableException
The ResourceUnavailableException
indicates that a resource inside the
system in not available to complete an operation. The type embodied in this
exception further clarifies what is not available and is obtained via the
ResourceUnavailableException.getType()
method.
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. |
|
ResourceUnavailableException(int type,
java.lang.String s)
Constructor, takes a type and a string. |
Method Summary | |
int |
getType()
Returns the type of resource which was unavailable. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, 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)
public ResourceUnavailableException(int type, java.lang.String s)
Method Detail |
public int getType()
|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |