Enum Class SubjectError

java.lang.Object
java.lang.Enum<SubjectError>
com.caplin.datasource.SubjectError
All Implemented Interfaces:
Serializable, Comparable<SubjectError>, java.lang.constant.Constable

public enum SubjectError extends Enum<SubjectError>
Enumeration that defines the possible types of subject error.
  • Enum Constant Details

    • NotFound

      public static final SubjectError NotFound
      The requested subject could not be found.
    • ReadDeny

      public static final SubjectError ReadDeny
      The requested subject cannot be read from.
    • WriteDeny

      public static final SubjectError WriteDeny
      The requsested subject cannot be written to.
    • DeleteObject

      public static final SubjectError DeleteObject
      The subject should be deleted.
    • Unavailable

      public static final SubjectError Unavailable
      The subject is not available.
  • Method Details

    • values

      public static SubjectError[] 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 SubjectError 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