|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
freemarker.template.TemplateException
freemarker.template.compiler.ParseException
public class ParseException
Exception thrown by the compiler whenever a parse exception occurs.
| Constructor Summary | |
|---|---|
ParseException()
Default constructor for the ParseException. |
|
ParseException(java.lang.Exception cause)
Constructs a ParseException with the given underlying
Exception, but no detail message. |
|
ParseException(java.lang.String reason)
Constructs a ParseException along with a reason for
the exception. |
|
ParseException(java.lang.String description,
java.lang.Exception cause)
Constructs a ParseException with both a description of
the error that occurred and the underlying Exception that caused
this exception to be raised. |
|
| Method Summary |
|---|
| Methods inherited from class freemarker.template.TemplateException |
|---|
getCause, getCauseException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ParseException()
public ParseException(java.lang.String reason)
ParseException along with a reason for
the exception.
reason - the reason the exception was thrownpublic ParseException(java.lang.Exception cause)
ParseException with the given underlying
Exception, but no detail message.
cause - the underlying Exception that caused this
exception to be raised
public ParseException(java.lang.String description,
java.lang.Exception cause)
ParseException with both a description of
the error that occurred and the underlying Exception that caused
this exception to be raised.
description - the description of the error that occurredcause - the underlying Exception that caused this
exception to be raised
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||