public class SdpParseException extends SdpException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 messagepublic int getLineNumber()
public int getCharOffset()
public String getMessage()
getMessage
in class Throwable
Copyright © 2018. All Rights Reserved.