Package freemarker.template.utility
Class NullArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
freemarker.template.utility.NullArgumentException
- All Implemented Interfaces:
Serializable
Indicates that an argument that must be non-
null
was null
.- Since:
- 2.3.20
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionNullArgumentException(String argumentName)
NullArgumentException(String argumentName, String details)
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NullArgumentException
public NullArgumentException() -
NullArgumentException
-
NullArgumentException
-
-
Method Details
-
check
Convenience method to protect against anull
argument. -
check
- Since:
- 2.3.22
-