Class HazelcastSqlException

  • All Implemented Interfaces:
    java.io.Serializable

    public class HazelcastSqlException
    extends HazelcastException
    An exception occurred during SQL query execution.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      HazelcastSqlException​(java.lang.String message, java.lang.Throwable cause)  
      HazelcastSqlException​(java.util.UUID originatingMemberId, int code, java.lang.String message, java.lang.Throwable cause, java.lang.String suggestion)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCode()
      Gets the internal error code associated with the exception.
      java.util.UUID getOriginatingMemberId()
      Gets ID of the member that caused or initiated an error condition.
      java.lang.String getSuggestion()
      Gets the suggested SQL statement to remediate experienced error
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HazelcastSqlException

        public HazelcastSqlException​(java.lang.String message,
                                     java.lang.Throwable cause)
      • HazelcastSqlException

        @PrivateApi
        public HazelcastSqlException​(@Nonnull
                                     java.util.UUID originatingMemberId,
                                     int code,
                                     java.lang.String message,
                                     java.lang.Throwable cause,
                                     java.lang.String suggestion)
    • Method Detail

      • getOriginatingMemberId

        public java.util.UUID getOriginatingMemberId()
        Gets ID of the member that caused or initiated an error condition.
      • getCode

        @PrivateApi
        public int getCode()
        Gets the internal error code associated with the exception.
      • getSuggestion

        @PrivateApi
        public java.lang.String getSuggestion()
        Gets the suggested SQL statement to remediate experienced error