Class GramException

All Implemented Interfaces:
Serializable, GRAMProtocolErrorConstants
Direct Known Subclasses:
WaitingForCommitException

public class GramException extends ChainedException implements GRAMProtocolErrorConstants
This class defeines the Exceptions which are thrown by the various Gram and GramJob methods. This class contains many definitions for error codes of the form ERROR_* in addition to SUCCESS. The error codes are a superset of those defined for the GRAM C client. Additional error codes are added for errors that can occur in the Java code.
See Also:
  • Field Details

  • Constructor Details

    • GramException

      public GramException()
    • GramException

      public GramException(int ec)
    • GramException

      public GramException(String msg)
    • GramException

      public GramException(int ec, Throwable ex)
  • Method Details

    • setErrorCode

      public void setErrorCode(int ec)
    • getErrorCode

      public int getErrorCode()
    • getMessage

      public static String getMessage(int errorCode)