org.jamon
Class ParserError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jamon.ParserError
All Implemented Interfaces:
Serializable

public class ParserError
extends Exception

Author:
ian
See Also:
Serialized Form

Constructor Summary
ParserError(org.jamon.node.Location p_location, String p_message)
           
 
Method Summary
 boolean equals(Object p_obj)
           
 org.jamon.node.Location getLocation()
           
 String getMessage()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParserError

public ParserError(org.jamon.node.Location p_location,
                   String p_message)
Method Detail

getLocation

public org.jamon.node.Location getLocation()
Returns:
The location of the error

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable
Returns:
The error message

equals

public boolean equals(Object p_obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Throwable