|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.telephony.InvalidPartyException
An InvalidPartyException 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.
| Field Summary | |
static int |
DESTINATION_PARTY
Indicates that the destination party was invalid. |
static int |
ORIGINATING_PARTY
Indicates that the originating party was invalid. |
static int |
UNKNOWN_PARTY
Indicates that the party was unknown. |
| Constructor Summary | |
InvalidPartyException(int type)
Constructor with no string. |
|
InvalidPartyException(int type,
java.lang.String s)
Constructor which takes a string description. |
|
| Method Summary | |
int |
getType()
Returns the type of party. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ORIGINATING_PARTY
public static final int DESTINATION_PARTY
public static final int UNKNOWN_PARTY
| Constructor Detail |
public InvalidPartyException(int type)
type - the type of party expected.
public InvalidPartyException(int type,
java.lang.String s)
type - type of exceptions - description of the fault| Method Detail |
public int getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||