org.jamon.compiler
Class ParserErrorImpl

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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)
           
 
Method Summary
 boolean equals(java.lang.Object p_obj)
           
 org.jamon.api.Location getLocation()
           
 java.lang.String getMessage()
           
 int hashCode()
           
 java.lang.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

ParserErrorImpl

public ParserErrorImpl(org.jamon.api.Location p_location,
                       java.lang.String p_message)
Method Detail

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