Package org.apache.ignite.lang
Class MarshallerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.ignite.lang.IgniteException
org.apache.ignite.lang.MarshallerException
- All Implemented Interfaces:
Serializable
,TraceableException
This exception is caused by a failure to marshall or unmarshall a value.
The failure can be due to a value not matching the a schema or to another reason.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMarshallerException
(String msg, @Nullable Throwable cause) Creates a new exception with the given error message.MarshallerException
(Throwable cause) Deprecated.MarshallerException
(UUID traceId, int code, String message, @Nullable Throwable cause) Creates an exception with the given trace ID, error code, detailed message, and cause. -
Method Summary
Methods inherited from class org.apache.ignite.lang.IgniteException
code, codeAsString, errorCode, groupCode, groupName, toString, traceId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
MarshallerException
Deprecated.Creates a new exception with the given error message.- Parameters:
cause
- Non-null throwable cause.
-
MarshallerException
Creates a new exception with the given error message.- Parameters:
msg
- Error message.cause
- Non-null throwable cause.
-
MarshallerException
public MarshallerException(UUID traceId, int code, String message, @Nullable @Nullable Throwable cause) Creates an exception with the given trace ID, error code, detailed message, and cause.- Parameters:
traceId
- Unique identifier of the exception.code
- Full error code.message
- Detailed message.cause
- Optional nested exception (can benull
).
-