Enum TExceptionEnum

java.lang.Object
java.lang.Enum<TExceptionEnum>
org.cdlib.mrt.utility.TExceptionEnum
All Implemented Interfaces:
Serializable, Comparable<TExceptionEnum>

public enum TExceptionEnum extends Enum<TExceptionEnum>
Enumeration of exception types with description and http status value
Author:
dloy
  • Enum Constant Details

    • INVALID_ARCHITECTURE

      public static final TExceptionEnum INVALID_ARCHITECTURE
    • REQUEST_INVALID

      public static final TExceptionEnum REQUEST_INVALID
    • REQUEST_ELEMENT_UNSUPPORTED

      public static final TExceptionEnum REQUEST_ELEMENT_UNSUPPORTED
    • USER_NOT_AUTHORIZED

      public static final TExceptionEnum USER_NOT_AUTHORIZED
    • USER_NOT_AUTHENTICATED

      public static final TExceptionEnum USER_NOT_AUTHENTICATED
    • CONFIGURATION_INVALID

      public static final TExceptionEnum CONFIGURATION_INVALID
    • INVALID_OR_MISSING_PARM

      public static final TExceptionEnum INVALID_OR_MISSING_PARM
    • INVALID_CONFIGURATION

      public static final TExceptionEnum INVALID_CONFIGURATION
    • GENERAL_EXCEPTION

      public static final TExceptionEnum GENERAL_EXCEPTION
    • EXTERNAL_SERVICE_UNAVAILABLE

      public static final TExceptionEnum EXTERNAL_SERVICE_UNAVAILABLE
    • EXTERNAL_SERVICE_FAILS

      public static final TExceptionEnum EXTERNAL_SERVICE_FAILS
    • INVALID_DATA_FORMAT

      public static final TExceptionEnum INVALID_DATA_FORMAT
    • LOCKING_ERROR

      public static final TExceptionEnum LOCKING_ERROR
    • FIXITY_CHECK_FAILS

      public static final TExceptionEnum FIXITY_CHECK_FAILS
    • CONCURRENT_UPDATE

      public static final TExceptionEnum CONCURRENT_UPDATE
    • SQL_EXCEPTION

      public static final TExceptionEnum SQL_EXCEPTION
    • NEARLINE_RESTORE_IN_PROCESS

      public static final TExceptionEnum NEARLINE_RESTORE_IN_PROCESS
    • GATEWAY_TIMEOUT

      public static final TExceptionEnum GATEWAY_TIMEOUT
    • REMOTE_IO_SERVICE_EXCEPTION

      public static final TExceptionEnum REMOTE_IO_SERVICE_EXCEPTION
    • REQUEST_ITEM_EXISTS

      public static final TExceptionEnum REQUEST_ITEM_EXISTS
    • REQUESTED_ITEM_NOT_FOUND

      public static final TExceptionEnum REQUESTED_ITEM_NOT_FOUND
    • UNIMPLEMENTED_CODE

      public static final TExceptionEnum UNIMPLEMENTED_CODE
    • UNSUPPORTED_FORMAT_TYPE

      public static final TExceptionEnum UNSUPPORTED_FORMAT_TYPE
  • Field Details

    • description

      protected final String description
    • httpResponse

      protected final int httpResponse
  • Method Details

    • values

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

      public static TExceptionEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDescription

      public String getDescription()
    • getHttpResponse

      public int getHttpResponse()