| java.lang.Object java.lang.Throwable java.lang.Exception gov.nist.javax.sdp.SdpException gov.nist.javax.sdp.SdpParseException
SdpParseException | public class SdpParseException extends SdpException (Code) | | The SdpParseException encapsulates the information thrown when an
error occurs during SDP parsing.
version: 1.0 |
Constructor 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. | public | SdpParseException(int lineNumber, int charOffset, String message) Constructs a new SdpParseException when the parser needs to
throw an exception indicating a parsing failure. |
Method Summary | |
public int | getCharOffset() Returns the char offset where the error occured. | public int | getLineNumber() Returns the line number where the error occured. | public String | getMessage() Returns the message stored when the exception was created. |
SdpParseException | public SdpParseException(int lineNumber, int charOffset, String message, Throwable rootCause)(Code) | | Constructs a new SdpParseException when the parser needs to
throw an exception indicating a parsing failure.
Parameters: lineNumber - SDP line number that caused the exception. Parameters: charOffset - offset of the character that caused the exception. Parameters: message - a String containing the text of the exception message Parameters: rootCause - the Throwable exception that interfered with theCodelet's normal operation, making this Codelet exception necessary. |
SdpParseException | public SdpParseException(int lineNumber, int charOffset, String message)(Code) | | Constructs a new SdpParseException when the parser needs to
throw an exception indicating a parsing failure.
Parameters: lineNumber - SDP line number that caused the exception. Parameters: charOffset - offset of the characeter that caused the exception. Parameters: message - a String containing the text of the exception message |
getCharOffset | public int getCharOffset()(Code) | | Returns the char offset where the error occured.
the char offset where the error occured. |
getLineNumber | public int getLineNumber()(Code) | | Returns the line number where the error occured.
the line number where the error occured |
getMessage | public String getMessage()(Code) | | Returns the message stored when the exception was created.
the message stored when the exception was created. |
|
|