org.jamon.compiler
Class ParserErrorImpl
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jamon.compiler.ParserErrorImpl
- All Implemented Interfaces:
- java.io.Serializable, org.jamon.api.ParserError
public class ParserErrorImpl
- extends java.lang.Exception
- implements org.jamon.api.ParserError
- Author:
- ian
- See Also:
- Serialized Form
|
Constructor Summary |
ParserErrorImpl(org.jamon.api.Location p_location,
java.lang.String p_message)
|
| 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 |
ParserErrorImpl
public ParserErrorImpl(org.jamon.api.Location p_location,
java.lang.String p_message)
getLocation
public org.jamon.api.Location getLocation()
- Specified by:
getLocation in interface org.jamon.api.ParserError
- Returns:
- The location of the error
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage in interface org.jamon.api.ParserError- Overrides:
getMessage in class java.lang.Throwable
- Returns:
- The error message
equals
public boolean equals(java.lang.Object p_obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Throwable
jamon