org.webmacro
Class TemplateException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.webmacro.RethrowableException
|
+--org.webmacro.WebMacroException
|
+--org.webmacro.TemplateException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BuildException, ParseException
- public class TemplateException
- extends WebMacroException
Exception raised on discovery of a parsing error. To facilitate error
recovery, you can extract the parseTool from this error.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TemplateException
public TemplateException()
TemplateException
public TemplateException(java.lang.String reason)
- Create a new exception
- Parameters:
reason
- what went wrong
TemplateException
public TemplateException(java.lang.String reason,
java.lang.Throwable e)
- Create a new exception, wrapping another exception
- Parameters:
reason
- what went wronge
- The exception that caused us to raise this exception