Enum Class ServerError

java.lang.Object
java.lang.Enum<ServerError>
church.i18n.processing.status.ServerError
All Implemented Interfaces:
Status, Serializable, Comparable<ServerError>, Constable

public enum ServerError extends Enum<ServerError> implements Status
List of server error statuses matching HTTP status codes that reflect validation errors and are not bound into a web service layer.
  • Enum Constant Details

    • INTERNAL_SERVER_ERROR

      public static final ServerError INTERNAL_SERVER_ERROR
  • Method Details

    • values

      public static ServerError[] 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 ServerError 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
    • getStatusId

      public int getStatusId()
      Description copied from interface: Status
      Value of system-wide processing status.
      Specified by:
      getStatusId in interface Status
      Returns:
      Numeric representation of status returned with the exception.