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.


Variable Index

 o NO_DIALTONE
 o OBSERVER_LIMIT_EXCEEDED
The number of observers existing already reached the limit.
 o ORIGINATOR_UNAVAILABLE
The originating device was not available for this action.
 o OUTSTANDING_METHOD_EXCEEDED
The internal resources to handle another method have been exceeded.
 o TRUNK_LIMIT_EXCEEDED
The number of trunks which are currently in use has been exceeded.
 o UNKNOWN
Indicates the specific reasons is unspecified.
 o UNSPECIFIED_LIMIT_EXCEEDED
An internal resource, unspecified by the implementation, has been exceeded.
 o USER_RESPONSE

Constructor Index

 o ResourceUnavailableException(int)
Constructor, take a type but no string.
 o ResourceUnavailableException(int, String)
Constructor, takes a type and a string.

Method Index

 o getType()
Returns the type.

Variables

 o UNKNOWN
 public static final int UNKNOWN
Indicates the specific reasons is unspecified.

 o ORIGINATOR_UNAVAILABLE
 public static final int ORIGINATOR_UNAVAILABLE
The originating device was not available for this action.

 o OBSERVER_LIMIT_EXCEEDED
 public static final int OBSERVER_LIMIT_EXCEEDED
The number of observers existing already reached the limit.

 o TRUNK_LIMIT_EXCEEDED
 public static final int TRUNK_LIMIT_EXCEEDED
The number of trunks which are currently in use has been exceeded.

 o OUTSTANDING_METHOD_EXCEEDED
 public static final int OUTSTANDING_METHOD_EXCEEDED
The internal resources to handle another method have been exceeded.

 o UNSPECIFIED_LIMIT_EXCEEDED
 public static final int UNSPECIFIED_LIMIT_EXCEEDED
An internal resource, unspecified by the implementation, has been exceeded.

 o NO_DIALTONE
 public static final int NO_DIALTONE
 o USER_RESPONSE
 public static final int USER_RESPONSE

Constructors

 o ResourceUnavailableException
 public ResourceUnavailableException(int type)
Constructor, take a type but no string.

 o ResourceUnavailableException
 public ResourceUnavailableException(int type,
                                     String s)
Constructor, takes a type and a string.

Methods

 o getType
 public int getType()
Returns the type.


All Packages  Class Hierarchy  This Package  Previous  Next  Index