|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--javax.sdp.SdpException
The SdpException defines a general exception for the SDP classes to throw when they encounter a difficulty.
Constructor Summary | |
SdpException()
Creates new SdpException |
|
SdpException(String message)
Constructs a new SdpException with the message you specify. |
|
SdpException(String message,
Throwable rootCause)
Constructs a new SdpException when the Codelet needs to throw an exception and include a message about another exception that interfered with its normal operation. |
|
SdpException(Throwable rootCause)
Constructs a new SdpException as a result of a system exception and uses the localized system exception message. |
Method Summary | |
Throwable |
getRootCause()
Returns the Throwable system exception that makes this SdpException necessary. |
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SdpException()
public SdpException(String message)
message
- a String specifying the text of the exception messagepublic SdpException(String message, Throwable rootCause)
message
- a String specifying the text of the exception messagerootCause
- the Throwable exception that interfered with the
Codelet's normal operation, making this Codelet exception necessarypublic SdpException(Throwable rootCause)
rootCause
- the system exception that makes this SdpException necessaryMethod Detail |
public Throwable getRootCause()
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |