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.

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