public class NullArgumentException
extends java.lang.IllegalArgumentException
NullArgumentException is a special
IllegalArgumentException that must be thrown when a parameter
is null and it is not allowed to be.| Constructor and Description |
|---|
NullArgumentException()
Constructs a new
NullArgumentException with
null as detail message. |
NullArgumentException(java.lang.String message)
Constructs a new
NullArgumentException with the
specified detail message. |
NullArgumentException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new
NullArgumentException with the
specified detail message and cause. |
NullArgumentException(java.lang.Throwable cause)
Constructs a new
NullArgumentException with null
as detail message and the given cause. |
public NullArgumentException()
NullArgumentException with
null as detail message.public NullArgumentException(java.lang.String message)
NullArgumentException with the
specified detail message.message - the detail messagepublic NullArgumentException(java.lang.String message,
java.lang.Throwable cause)
NullArgumentException with the
specified detail message and cause.message - the detail messagecause - the cause of this exceptionpublic NullArgumentException(java.lang.Throwable cause)
NullArgumentException with null
as detail message and the given cause.cause - the cause of this exception