Top Description Fields Constructors Methods
net.fortuna.ical4j.data

public Class ParserException

extends Exception
Class Inheritance
Imports
java.text.MessageFormat

$Id$ [Apr 5, 2004]
An exception thrown when an error occurs in parsing iCalendar data.
Author
Ben Fortuna

Field Summary

Modifier and TypeField and Description
private static final String
private final int
private static final long

Constructor Summary

AccessConstructor and Description
public
ParserException(final int
line number where parsing error ocurred
lineNo
)

public
ParserException(final String
a descriptive message for the exception
message
,
final int
line number where parsing error ocurred
lineNo
)

Constructor with message.

public
ParserException(final String
a descriptive message for the exception
message
,
final int
line number where parsing error ocurred
lineNo
,
final Throwable
a throwable that is the cause of this exception
cause
)

Constructor with message and cause.

Method Summary

Modifier and TypeMethod and Description
public final int

Returns:

the lineNo
getLineNo
()

Field Detail

ERROR_MESSAGE_PATTERNback to summary
private static final String ERROR_MESSAGE_PATTERN
lineNoback to summary
private final int lineNo
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

ParserExceptionback to summary
public ParserException(final int lineNo)
Parameters
lineNo:int

line number where parsing error ocurred

ParserExceptionback to summary
public ParserException(final String message, final int lineNo)

Constructor with message.

Parameters
message:String

a descriptive message for the exception

lineNo:int

line number where parsing error ocurred

ParserExceptionback to summary
public ParserException(final String message, final int lineNo, final Throwable cause)

Constructor with message and cause.

Parameters
message:String

a descriptive message for the exception

lineNo:int

line number where parsing error ocurred

cause:Throwable

a throwable that is the cause of this exception

Method Detail

getLineNoback to summary
public final int getLineNo()
Returns:int

the lineNo