java.lang.Object
java.lang.Throwable
java.lang.Exception
net.fortuna.ical4j.data.ParserException
- All Implemented Interfaces:
Serializable
$Id$ [Apr 5, 2004]An exception thrown when an error occurs in parsing iCalendar data.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParserException(int lineNo) ParserException(String message, int lineNo) Constructor with message.ParserException(String message, int lineNo, Throwable cause) Constructor with message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParserException
public ParserException(int lineNo) - Parameters:
lineNo- line number where parsing error ocurred
-
ParserException
Constructor with message.- Parameters:
message- a descriptive message for the exceptionlineNo- line number where parsing error ocurred
-
ParserException
Constructor with message and cause.- Parameters:
message- a descriptive message for the exceptionlineNo- line number where parsing error ocurredcause- a throwable that is the cause of this exception
-
-
Method Details
-
getLineNo
public final int getLineNo()- Returns:
- the lineNo
-