Package freemarker.template
Class MethodCallAwareTemplateHashModel.ShouldNotBeGetAsMethodException
java.lang.Object
java.lang.Throwable
java.lang.Exception
freemarker.template.MethodCallAwareTemplateHashModel.ShouldNotBeGetAsMethodException
- All Implemented Interfaces:
- Serializable
- Enclosing interface:
- MethodCallAwareTemplateHashModel
public static final class MethodCallAwareTemplateHashModel.ShouldNotBeGetAsMethodException
extends Exception
Thrown by 
MethodCallAwareTemplateHashModel.getBeforeMethodCall(String); see there.- Since:
- 2.3.33
- See Also:
- Serialized Form
- 
Constructor SummaryConstructorsConstructorDescriptionShouldNotBeGetAsMethodException(TemplateModel actualValue, String hint)Same asShouldNotBeGetAsMethodException(freemarker.template.TemplateModel,java.lang.String,java.lang.Throwable), withnullcause exception argument.ShouldNotBeGetAsMethodException(TemplateModel actualValue, String hint, Throwable cause)
- 
Method SummaryModifier and TypeMethodDescriptionThe actual value we got instead of a method; notnull.getHint()Additional hint for the user; maybenull.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ShouldNotBeGetAsMethodExceptionSame asShouldNotBeGetAsMethodException(freemarker.template.TemplateModel,java.lang.String,java.lang.Throwable), withnullcause exception argument.
- 
ShouldNotBeGetAsMethodException- Parameters:
- actualValue- The actual value we got instead of a method; can't be- null!
- hint- Hint for the user, that's added to the error message;- nullif you just want the plain- NonMethodExceptionerror message.
- cause- Can be- null.
 
 
- 
- 
Method Details- 
getActualValueThe actual value we got instead of a method; notnull.
- 
getHintAdditional hint for the user; maybenull.
 
-