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
An exception occurred during SQL query execution.
- See Also:
-
Constructor Summary
ConstructorDescriptionHazelcastSqlException
(String message, Throwable cause) HazelcastSqlException
(UUID originatingMemberId, int code, String message, Throwable cause, String suggestion) -
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
Gets the internal error code associated with the exception.Gets ID of the member that caused or initiated an error condition.Gets the suggested SQL statement to remediate experienced errorMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HazelcastSqlException
-
HazelcastSqlException
@PrivateApi public HazelcastSqlException(@Nonnull UUID originatingMemberId, int code, String message, Throwable cause, String suggestion)
-
-
Method Details
-
getOriginatingMemberId
Gets ID of the member that caused or initiated an error condition. -
getCode
Gets the internal error code associated with the exception. -
getSuggestion
Gets the suggested SQL statement to remediate experienced error
-