Class java.telephony.InvalidPartyException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.telephony.InvalidPartyException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.telephony.InvalidPartyException

public class InvalidPartyException
extends Exception
Indicates that a party given as an argument to the method call was invalid. This may either be the originating party of a telephone call or the destination party of a telephone call, or a transfer, etc.

Variable Index

 o DESTINATION_PARTY
Indictes that the destiation party was invalid.
 o ORIGINATING_PARTY
Indicates that the originating party was invalid.

Constructor Index

 o InvalidPartyException(int)
Constructor with no string.
 o InvalidPartyException(int, String)
Constructor which takes a string description.

Method Index

 o getType()
Returns the type of party.

Variables

 o ORIGINATING_PARTY
  public final static int ORIGINATING_PARTY
Indicates that the originating party was invalid.
 o DESTINATION_PARTY
  public final static int DESTINATION_PARTY
Indictes that the destiation party was invalid.

Constructors

 o InvalidPartyException
  public InvalidPartyException(int type)
Constructor with no string.
 o InvalidPartyException
  public InvalidPartyException(int type,
                               String s)
Constructor which takes a string description.

Methods

 o getType
  public int getType()
Returns the type of party.

Returns:
The type of party.

All Packages  Class Hierarchy  This Package  Previous  Next  Index