Class GqlStatusException

All Implemented Interfaces:
Serializable

public class GqlStatusException extends GqlException
GQL-domain error carrying a GQLSTATUS code and optional diagnostic context.
See Also:
  • Constructor Details

    • GqlStatusException

      public GqlStatusException(String code, String message)
    • GqlStatusException

      public GqlStatusException(String code, String message, String diagnosticOperation, int diagnosticOperationCode, String diagnosticSchema)
  • Method Details

    • code

      public String code()
      The 5-character GQLSTATUS code.
    • gqlMessage

      public String gqlMessage()
      The human-readable GQL status message.
    • diagnosticOperation

      public String diagnosticOperation()
      The diagnostic operation string, if any.
    • diagnosticOperationCode

      public int diagnosticOperationCode()
      The diagnostic operation code, if any.
    • diagnosticSchema

      public String diagnosticSchema()
      The diagnostic schema context, if any.
    • isSuccess

      public boolean isSuccess()
      Check if this status represents success.
    • isWarning

      public boolean isWarning()
      Check if this status represents a warning.
    • isException

      public boolean isException()
      Check if this status represents an exception.