Package org.apache.ignite.lang
Interface TraceableException
- All Known Implementing Classes:
ClusterInitFailureException,ClusterNotInitializedException,ColumnAlreadyExistsException,ColumnNotFoundException,ComputeException,CriteriaException,CursorClosedException,DataStreamerException,IgniteCheckedException,IgniteClientConnectionException,IgniteClientFeatureNotSupportedByServerException,IgniteException,IncompatibleSchemaException,IndexAlreadyExistsException,IndexNotFoundException,InvalidCredentialsException,MarshallerException,MarshallingException,MismatchingTransactionOutcomeException,NodeNotFoundException,NodeNotStartedException,NodeStartException,NoRowSetExpectedException,SchemaNotFoundException,SqlBatchException,SqlException,TableAlreadyExistsException,TableNotFoundException,TransactionException,UnexpectedNullValueException,UnmarshallingException,UnsupportedAuthenticationTypeException,UnsupportedObjectTypeMarshallingException,UnsupportedPartitionTypeException
public interface TraceableException
Interface representing an exception that can be identified with trace identifier and provides an error code.
-
Method Summary
Modifier and TypeMethodDescriptionintcode()Returns a full error code that includes the error's group and code, which uniquely identifies the problem within the group.shortReturns an error code that uniquely identifies the problem within a group.shortReturns an error group.traceId()Returns a unique identifier of the exception.
-
Method Details
-
traceId
UUID traceId()Returns a unique identifier of the exception.- Returns:
- Unique identifier of the exception.
-
code
int code()Returns a full error code that includes the error's group and code, which uniquely identifies the problem within the group. This is a combination of two most-significant bytes for the error group and two least-significant bytes for the error code.- Returns:
- Full error code.
-
groupCode
short groupCode()Returns an error group.- Returns:
- Error group.
- See Also:
-
errorCode
short errorCode()Returns an error code that uniquely identifies the problem within a group.- Returns:
- Error code.
- See Also:
-