multivalent

Class ParseException

public class ParseException extends Exception

MediaAdaptors should return this when encountering an unfixable/unrecoverable parsing error. NB: this is different from java.text.ParseException.

Version: $Revision: 1.2 $ $Date: 2002/10/03 22:15:59 $

See Also: MediaAdaptor

Constructor Summary
ParseException(String message)
Parse error not traceable to specific byte/line.
ParseException(String message, long posn)
Binary data formats report the byte offset into the file.
ParseException(String message, int line, int chr)
Text formats report the line and character offsets.
Method Summary
intgetChar()
intgetLine()
longgetPosn()
StringtoString()

Constructor Detail

ParseException

public ParseException(String message)
Parse error not traceable to specific byte/line.

ParseException

public ParseException(String message, long posn)
Binary data formats report the byte offset into the file.

ParseException

public ParseException(String message, int line, int chr)
Text formats report the line and character offsets.

Method Detail

getChar

public int getChar()

getLine

public int getLine()

getPosn

public long getPosn()

toString

public String toString()