Package org.apache.ignite.lang
Class UnexpectedNullValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.ignite.lang.IgniteException
org.apache.ignite.lang.UnexpectedNullValueException
- All Implemented Interfaces:
Serializable,TraceableException
This exception is thrown instead of returning a null value from a method that does not respect
null-value to avoid ambiguity
(whether the value is absent or is null).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception.UnexpectedNullValueException(UUID traceId, int code, String message, Throwable cause) Creates a new exception with the given trace id, error code, detail message and cause. -
Method Summary
Methods inherited from class org.apache.ignite.lang.IgniteException
code, codeAsString, errorCode, groupCode, groupName, toString, traceIdMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
UnexpectedNullValueException
Creates a new exception.- Parameters:
msg- Message.
-
UnexpectedNullValueException
Creates a new exception with the given trace id, error code, detail message and cause.- Parameters:
traceId- Unique identifier of this exception.code- Full error code.message- Detail message.cause- Optional nested exception (can benull).
-