freemarker.core
Class NonBooleanException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by freemarker.template.TemplateException
              extended by freemarker.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)
           
 
Method Summary
 
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)