Enum ErrorType

java.lang.Object
java.lang.Enum<ErrorType>
no.digipost.api.client.representations.ErrorType
All Implemented Interfaces:
Serializable, Comparable<ErrorType>, java.lang.constant.Constable

public enum ErrorType extends Enum<ErrorType>
  • Enum Constant Details

    • SERVER

      public static final ErrorType SERVER
    • CLIENT_DATA

      public static final ErrorType CLIENT_DATA
    • CLIENT_TECHNICAL

      public static final ErrorType CLIENT_TECHNICAL
    • CONFIGURATION

      public static final ErrorType CONFIGURATION
    • NONE

      public static final ErrorType NONE
  • Method Details

    • values

      public static ErrorType[] 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 ErrorType 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
    • value

      public String value()
    • fromValue

      public static ErrorType fromValue(String v)
    • fromResponseStatus

      public static ErrorType fromResponseStatus(org.apache.http.StatusLine serverResponseStatus)