freemarker.core
Class NonBooleanException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byfreemarker.template.TemplateException
              extended byfreemarker.core.NonBooleanException
All Implemented Interfaces:
java.io.Serializable

public class NonBooleanException
extends TemplateException

A subclass of TemplateException that indicates that the internals expected an expression to evaluate to a boolean value and it didn't.

Author:
Jonathan Revusky
See Also:
Serialized Form

Constructor Summary
NonBooleanException(Environment env)
           
NonBooleanException(java.lang.String description, Environment env)
           
 
Methods inherited from class freemarker.template.TemplateException
getCause, getCauseException, getEnvironment, getFTLInstructionStack, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonBooleanException

public NonBooleanException(Environment env)

NonBooleanException

public NonBooleanException(java.lang.String description,
                           Environment env)