|
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 | +--gov.nist.javax.sip.stack.SIPServerException
Exception that gets generated when the Stack encounters an error.
Constructor Summary | |
SIPServerException(int rc)
Constructor when we are given only the error code |
|
SIPServerException(int rc,
gov.nist.javax.sip.message.SIPMessage sipMessage)
Constructor that constructs the message from the standard Error messages. |
|
SIPServerException(int rc,
gov.nist.javax.sip.message.SIPMessage message,
String msg)
Constructor for when we have a return code and a SIPMessage. |
|
SIPServerException(int rc,
String msg)
Constructor for when we have the error code and some error info. |
|
SIPServerException(String response)
Constructor when we have a pre-formatted response. |
Method Summary | |
int |
getRC()
|
gov.nist.javax.sip.message.SIPMessage |
getSIPMessage()
Get the message that generated this exception. |
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 SIPServerException(int rc)
rc
- Return code.public SIPServerException(int rc, String msg)
rc
- SIP Return codemsg
- Error messagepublic SIPServerException(int rc, gov.nist.javax.sip.message.SIPMessage message, String msg)
rc
- SIP error codemessage
- SIP Error messagemsg
- Auxiliary error messagepublic SIPServerException(String response)
response
- Pre-formatted response to send back to the
other end.public SIPServerException(int rc, gov.nist.javax.sip.message.SIPMessage sipMessage)
rc
- is the SIP Error code.sipMessage
- is the SIP Message that caused the exception.Method Detail |
public int getRC()
public gov.nist.javax.sip.message.SIPMessage getSIPMessage()
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |