net.fortuna.ical4j.data

Class ParserException


public class ParserException
extends Exception

$Id: ParserException.java,v 1.11 2008/12/20 08:58:34 fortuna Exp $ [Apr 5, 2004] An exception thrown when an error occurs in parsing iCalendar data.

Constructor Summary

ParserException(String message, int lineNo)
Constructor with message.
ParserException(String message, int lineNo, Throwable cause)
Constructor with message and cause.
ParserException(int lineNo)

Method Summary

int
getLineNo()

Constructor Details

ParserException

public ParserException(String message,
                       int lineNo)
Constructor with message.
Parameters:
message - a descriptive message for the exception
lineNo - line number where parsing error ocurred

ParserException

public ParserException(String message,
                       int lineNo,
                       Throwable cause)
Constructor with message and cause.
Parameters:
message - a descriptive message for the exception
lineNo - line number where parsing error ocurred
cause - a throwable that is the cause of this exception

ParserException

public ParserException(int lineNo)
Parameters:
lineNo - line number where parsing error ocurred

Method Details

getLineNo

public final int getLineNo()
Returns:
the lineNo