public class NullArgumentException extends IllegalArgumentException
null
was null
.Constructor and Description |
---|
NullArgumentException(String argumentName) |
Modifier and Type | Method and Description |
---|---|
static void |
check(Object argumentValue) |
static void |
check(String argumentName,
Object argumentValue)
Convenience method to protect against a
null argument. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NullArgumentException(String argumentName)