Class NonMethodException

All Implemented Interfaces:
Serializable

public class NonMethodException extends UnexpectedTypeException
Indicates that a TemplateMethodModel value was expected, but the value had a different type.
Since:
2.3.21
See Also:
Serialized Form
  • Constructor Details

    • NonMethodException

      public NonMethodException(Environment env)
    • NonMethodException

      public NonMethodException(String description, Environment env)
      Parameters:
      env - Can be null, if we are in a thread that's running a template currently (because then we can find the Environment).