Class java.telephony.ResourceUnavailableException
All Packages Class Hierarchy This Package Previous Next Index
Class java.telephony.ResourceUnavailableException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.telephony.ResourceUnavailableException
- public class ResourceUnavailableException
- extends Exception
A resource inside the system in unavailable. The type emboddied in this
exception further clarifies what is not available.
-
NO_DIALTONE
-
-
OBSERVER_LIMIT_EXCEEDED
- The number of observers existing already reached the limit.
-
ORIGINATOR_UNAVAILABLE
- The originating device was not available for this action.
-
OUTSTANDING_METHOD_EXCEEDED
- The internal resources to handle another method have been exceeded.
-
TRUNK_LIMIT_EXCEEDED
- The number of trunks which are currently in use has been
exceeded.
-
UNKNOWN
- Indicates the specific reasons is unspecified.
-
UNSPECIFIED_LIMIT_EXCEEDED
- An internal resource, unspecified by the implementation, has been
exceeded.
-
USER_RESPONSE
-
-
ResourceUnavailableException(int)
- Constructor, take a type but no string.
-
ResourceUnavailableException(int, String)
- Constructor, takes a type and a string.
-
getType()
- Returns the type.
UNKNOWN
public final static int UNKNOWN
- Indicates the specific reasons is unspecified.
ORIGINATOR_UNAVAILABLE
public final static int ORIGINATOR_UNAVAILABLE
- The originating device was not available for this action.
OBSERVER_LIMIT_EXCEEDED
public final static int OBSERVER_LIMIT_EXCEEDED
- The number of observers existing already reached the limit.
TRUNK_LIMIT_EXCEEDED
public final static int TRUNK_LIMIT_EXCEEDED
- The number of trunks which are currently in use has been
exceeded.
OUTSTANDING_METHOD_EXCEEDED
public final static int OUTSTANDING_METHOD_EXCEEDED
- The internal resources to handle another method have been exceeded.
UNSPECIFIED_LIMIT_EXCEEDED
public final static int UNSPECIFIED_LIMIT_EXCEEDED
- An internal resource, unspecified by the implementation, has been
exceeded.
NO_DIALTONE
public final static int NO_DIALTONE
USER_RESPONSE
public final static int USER_RESPONSE
ResourceUnavailableException
public ResourceUnavailableException(int type)
- Constructor, take a type but no string.
ResourceUnavailableException
public ResourceUnavailableException(int type,
String s)
- Constructor, takes a type and a string.
getType
public int getType()
- Returns the type.
All Packages Class Hierarchy This Package Previous Next Index