SdpParseExceptionpublic class SdpParseException extends SdpException The SdpParseException encapsulates the information thrown when an
error occurs during SDP parsing. |
Fields Summary |
---|
private int | lineNumberCurrent line in parsed text. | private int | charOffsetCurrent character offset in the parse buffer. |
Constructors Summary |
---|
public 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.
super(message, rootCause);
this.lineNumber = lineNumber;
this.charOffset = charOffset;
| public SdpParseException(int lineNumber, int charOffset, String message)Constructs a new SdpParseException when the parser needs to
throw an exception indicating a parsing failure.
super(message);
this.lineNumber = lineNumber;
this.charOffset = charOffset;
|
Methods Summary |
---|
public int | getCharOffset()Returns the char offset where the error occured.
return charOffset;
| public int | getLineNumber()Returns the line number where the error occured.
return lineNumber;
| public java.lang.String | getMessage()Returns the message stored when the exception was created.
return super.getMessage();
|
|