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
public class NullArgumentException extends IllegalArgumentException
Indicates that an argument that must be non-nullwasnull.- Since:
- 2.3.20
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NullArgumentException(String argumentName)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheck(Object argumentValue)static voidcheck(String argumentName, Object argumentValue)Convenience method to protect against anullargument.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NullArgumentException
public NullArgumentException(String argumentName)
-
-