org.webmacro.engine
Class ParseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.webmacro.RethrowableException
              extended byorg.webmacro.WebMacroException
                  extended byorg.webmacro.TemplateException
                      extended byorg.webmacro.engine.ParseException
All Implemented Interfaces:
java.io.Serializable

public class ParseException
extends TemplateException

Exception raised on discovery of a parsing error.

See Also:
Serialized Form

Constructor Summary
ParseException()
           
ParseException(java.lang.String reason)
          Create a new exception
ParseException(java.lang.String reason, java.lang.Exception e)
          Create a new exception, wrapping another exception
 
Methods inherited from class org.webmacro.WebMacroException
getContextLocation, getMessage, setContextLocation
 
Methods inherited from class org.webmacro.RethrowableException
getCaught, getCause, getRootCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseException

public ParseException()

ParseException

public ParseException(java.lang.String reason)
Create a new exception

Parameters:
reason - what went wrong

ParseException

public ParseException(java.lang.String reason,
                      java.lang.Exception e)
Create a new exception, wrapping another exception

Parameters:
reason - what went wrong
e - The exception that caused us to raise this exception