Enum ErrorType

java.lang.Object
java.lang.Enum<ErrorType>
no.digipost.api.client.errorhandling.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
    • CONFIGURATION

      public static final ErrorType CONFIGURATION
    • CLIENT_TECHNICAL

      public static final ErrorType CLIENT_TECHNICAL
    • CLIENT_DATA

      public static final ErrorType CLIENT_DATA
    • NONE

      public static final ErrorType NONE
    • UNKNOWN

      public static final ErrorType UNKNOWN
  • Field Details

  • 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
    • resolve

      public static ErrorType resolve(ErrorType errorType)