Enum Class ExceptionType

java.lang.Object
java.lang.Enum<ExceptionType>
com.firebolt.jdbc.exception.ExceptionType
All Implemented Interfaces:
Serializable, Comparable<ExceptionType>, Constable

public enum ExceptionType extends Enum<ExceptionType>
This class represents the types of exceptions that may be thrown
  • Enum Constant Details

    • ERROR

      public static final ExceptionType ERROR
    • UNAUTHORIZED

      public static final ExceptionType UNAUTHORIZED
    • TYPE_NOT_SUPPORTED

      public static final ExceptionType TYPE_NOT_SUPPORTED
    • TYPE_TRANSFORMATION_ERROR

      public static final ExceptionType TYPE_TRANSFORMATION_ERROR
    • RESOURCE_NOT_FOUND

      public static final ExceptionType RESOURCE_NOT_FOUND
    • CANCELED

      public static final ExceptionType CANCELED
    • INVALID_REQUEST

      public static final ExceptionType INVALID_REQUEST
    • TOO_MANY_REQUESTS

      public static final ExceptionType TOO_MANY_REQUESTS
  • Method Details

    • values

      public static ExceptionType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExceptionType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null