freemarker.core
Class NonStringException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byfreemarker.template.TemplateException
              extended byfreemarker.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)
           
 
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)