public class NullReturnException extends ProviderContractException
null
value where an actual
value was defined.Constructor and Description |
---|
NullReturnException(java.lang.String msg)
Constructs a
NullReturnException with the specified
detail message. |
NullReturnException(java.lang.String msg,
java.lang.Throwable t)
Constructs a
NullReturnException with the specified
detail message and cause. |
NullReturnException(java.lang.Throwable t)
Constructs a
NullReturnException with the specified
cause and a detail message of
cause.toString() which typically contains the class and
detail message of cause . |
public NullReturnException(java.lang.String msg)
NullReturnException
with the specified
detail message. The error message string msg
can
later be retrieved by the getMessage() method of
Throwable
.msg
- the error messagepublic NullReturnException(java.lang.String msg, java.lang.Throwable t)
NullReturnException
with the specified
detail message and cause. The error message string msg
can
later be retrieved by the getMessage() method of
Throwable
.msg
- the error messaget
- the cause of the exceptionpublic NullReturnException(java.lang.Throwable t)
NullReturnException
with the specified
cause and a detail message of
cause.toString()
which typically contains the class and
detail message of cause
.t
- the cause of the exception