Package org.apache.ignite.compute
Class ComputeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.ignite.lang.IgniteException
org.apache.ignite.compute.ComputeException
- All Implemented Interfaces:
Serializable
,TraceableException
- Direct Known Subclasses:
NodeNotFoundException
Compute exception base class.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionComputeException
(int code) Creates an exception with the given error code.ComputeException
(int code, String message) Creates an exception with the given error code and detailed message.ComputeException
(int code, String message, Throwable cause) Creates an exception with the given error code, detailed message and cause.ComputeException
(int code, Throwable cause) Creates an exception with the given error code and cause.ComputeException
(UUID traceId, int code, String message) Creates an exception with the given trace ID, error code, and detailed message.ComputeException
(UUID traceId, int code, String message, Throwable cause) Creates an exception with the given trace ID, error code, detailed message, and cause.ComputeException
(UUID traceId, int code, Throwable cause) Creates an exception with the given trace ID, error code, 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
-
ComputeException
public ComputeException(int code) Creates an exception with the given error code.- Parameters:
code
- Full error code.
-
ComputeException
Creates an exception with the given error code and detailed message.- Parameters:
code
- Full error code.message
- Detailed message.
-
ComputeException
Creates an exception with the given trace ID, error code, and detailed message.- Parameters:
traceId
- Unique identifier of the exception.code
- Full error code.message
- Detailed message.
-
ComputeException
Creates an exception with the given error code and cause.- Parameters:
code
- Full error code.cause
- Optional nested exception (can benull
).
-
ComputeException
Creates an exception with the given trace ID, error code, and cause.- Parameters:
traceId
- Unique identifier of the exception.code
- Full error code.cause
- Optional nested exception (can benull
).
-
ComputeException
Creates an exception with the given error code, detailed message and cause.- Parameters:
code
- Full error code.message
- Detailed message.cause
- Optional nested exception (can benull
).
-
ComputeException
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
).
-