|
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 | +--javax.sdp.SdpParseException
The SdpParseException encapsulates the information thrown when an error occurs during SDP parsing.
Constructor Summary | |
SdpParseException(int lineNumber,
int charOffset,
String message)
Constructs a new SdpParseException when the parser needs to throw an exception indicating a parsing failure. |
|
SdpParseException(int lineNumber,
int charOffset,
String message,
Throwable rootCause)
Constructs a new SdpParseException when the parser needs to throw an exception indicating a parsing failure. |
Method Summary | |
int |
getCharOffset()
Returns the char offset where the error occured. |
int |
getLineNumber()
Returns the line number where the error occured |
String |
getMessage()
Returns the message stored when the exception was created. |
Methods inherited from class javax.sdp.SdpException |
getRootCause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, 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 SdpParseException(int lineNumber, int charOffset, String message, Throwable rootCause)
lineNumber
- SDP line number that caused the exception.charOffset
- offset of the characeter that caused the exception.message
- a String containing the text of the exception messagerootCause
- the Throwable exception that interfered with the Codelet's
normal operation, making this Codelet exception necessary.public SdpParseException(int lineNumber, int charOffset, String message)
lineNumber
- SDP line number that caused the exception.charOffset
- offset of the characeter that caused the exception.message
- a String containing the text of the exception messageMethod Detail |
public int getLineNumber()
public int getCharOffset()
public String getMessage()
getMessage
in class Throwable
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |