Class NullArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osid.OsidRuntimeException
org.osid.ConsumerContractException
org.osid.NullArgumentException
- All Implemented Interfaces:
Serializable
A
null argument was provided. This error can only result for
methods that define parameters. Consumers are not permitted to supply
null values for method arguments.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aNullArgumentExceptionwith the specified detail message.NullArgumentException(String msg, Throwable t) Constructs aNullArgumentExceptionwith the specified detail message and cause.Constructs aNullArgumentExceptionwith the specified cause and a detail message ofcause.toString()which typically contains the class and detail message ofcause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NullArgumentException
-
NullArgumentException
-
NullArgumentException
Constructs aNullArgumentExceptionwith the specified cause and a detail message ofcause.toString()which typically contains the class and detail message ofcause.- Parameters:
t- the cause of the exception
-