freemarker.template.compiler
Class ParseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--freemarker.template.TemplateException
                    |
                    +--freemarker.template.compiler.ParseException
All Implemented Interfaces:
java.io.Serializable

public class ParseException
extends TemplateException

Exception thrown by the compiler whenever a parse exception occurs.

Version:
$Id: ParseException.java,v 1.7 2003/11/03 03:33:32 run2000 Exp $
Author:
Nicholas Cull
See Also:
Serialized Form

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.
 
Methods inherited from class freemarker.template.TemplateException
getCause, getCauseException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseException

public ParseException()
Default constructor for the ParseException.

ParseException

public ParseException(java.lang.String reason)
Constructs a ParseException along with a reason for the exception.
Parameters:
reason - the reason the exception was thrown

ParseException

public ParseException(java.lang.Exception cause)
Constructs a ParseException with the given underlying Exception, but no detail message.
Parameters:
cause - the underlying Exception that caused this exception to be raised

ParseException

public 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.
Parameters:
description - the description of the error that occurred
cause - the underlying Exception that caused this exception to be raised