jain.jcp
Class InvalidPartyException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--jain.jcp.InvalidPartyException
- public class InvalidPartyException
- extends java.lang.Exception
This 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.
- See Also:
- Serialized Form
Method Summary |
int |
getType()
Returns the type of party. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ORIGINATING_PARTY
public static final int ORIGINATING_PARTY
- Indicates that the originating party was invalid.
DESTINATION_PARTY
public static final int DESTINATION_PARTY
- Indicates that the destination party was invalid.
UNKNOWN_PARTY
public static final int UNKNOWN_PARTY
- Indicates that the party was unknown.
InvalidPartyException
public InvalidPartyException(int type)
- Constructor with no string.
- Parameters:
type
- the type of party expected.
InvalidPartyException
public InvalidPartyException(int type,
java.lang.String s)
- Constructor which takes a string description.
- Parameters:
type
- type of exceptions
- description of the fault
getType
public int getType()
- Returns the type of party.
- Returns:
- The type of party.
3 Oct 2000 If you have any comments or queries, please mail them to jcc@research.telcordia.com
Copyright-2000 Sun Microsystems