Package com.hazelcast.sql
Class HazelcastSqlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hazelcast.core.HazelcastException
com.hazelcast.sql.HazelcastSqlException
- All Implemented Interfaces:
Serializable
public class HazelcastSqlException extends HazelcastException
An exception occurred during SQL query execution.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description HazelcastSqlException(UUID originatingMemberId, int code, String message, Throwable cause)
-
Method Summary
Modifier and Type Method Description int
getCode()
Gets the internal error code associated with the exception.UUID
getOriginatingMemberId()
Gets ID of the member that caused or initiated an error condition.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HazelcastSqlException
@PrivateApi public HazelcastSqlException(@Nonnull UUID originatingMemberId, int code, String message, Throwable cause)
-
-
Method Details
-
getOriginatingMemberId
Gets ID of the member that caused or initiated an error condition.- Returns:
- ID of the member that caused or initiated an error condition
-
getCode
Gets the internal error code associated with the exception.- Returns:
- the internal error code associated with the exception
-