Open SiteSearch 4.1.1
Final

ORG.oclc.xml.parser
Class ParseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--ORG.oclc.xml.parser.ParseException

public class ParseException
extends Exception

This class signals that a parsing exception of some sort has occurred.

See Also:
Serialized Form

Field Summary
 int column
          The position on the line where the error was found.
 int line
          The line where the error was found.
 Object owner
          The parser context in which the error occurred.
 
Constructor Summary
ParseException()
          Constructs a ParseException exception with no detail message.
ParseException(String s)
          Constructs a ParseException exception with a specified message.
ParseException(String s, int line, int column, Object owner)
          Constructs a ParseException exception with detail about what occurred.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

line

public int line
The line where the error was found.

column

public int column
The position on the line where the error was found.

owner

public Object owner
The parser context in which the error occurred.
Constructor Detail

ParseException

public ParseException()
Constructs a ParseException exception with no detail message.

ParseException

public ParseException(String s)
Constructs a ParseException exception with a specified message.
Parameters:
s - The detail message.

ParseException

public ParseException(String s,
                      int line,
                      int column,
                      Object owner)
Constructs a ParseException exception with detail about what occurred.
Parameters:
s - The detail message.
line - The line number of the input where the error was found.
column - The position on the line.
owner - The context in which the error was encountered. This is either an Entity object or a Parser object.

Open SiteSearch 4.1.1
Final