freemarker.core
Class NonStringException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by freemarker.template.TemplateException
              extended by freemarker.core.NonStringException
All Implemented Interfaces:
java.io.Serializable

public class NonStringException
extends TemplateException

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

Author:
Attila Szegedi
See Also:
Serialized Form

Constructor Summary
NonStringException(Environment env)
           
NonStringException(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

NonStringException

public NonStringException(Environment env)

NonStringException

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