Package de.aristaflow.adept2.util
Class NullArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
de.aristaflow.adept2.util.NullArgumentException
- All Implemented Interfaces:
Serializable
The
NullArgumentException is a special
IllegalArgumentException that must be thrown when a parameter
is null and it is not allowed to be.- Author:
- Patrick Schmidt
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newNullArgumentExceptionwithnullas detail message.NullArgumentException(String message) Constructs a newNullArgumentExceptionwith the specified detail message.NullArgumentException(String message, Throwable cause) Constructs a newNullArgumentExceptionwith the specified detail message and cause.NullArgumentException(Throwable cause) Constructs a newNullArgumentExceptionwithnullas detail message and the given cause. -
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()Constructs a newNullArgumentExceptionwithnullas detail message. -
NullArgumentException
Constructs a newNullArgumentExceptionwith the specified detail message.- Parameters:
message- the detail message
-
NullArgumentException
Constructs a newNullArgumentExceptionwith the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause of this exception
-
NullArgumentException
Constructs a newNullArgumentExceptionwithnullas detail message and the given cause.- Parameters:
cause- the cause of this exception
-