Enum Class Errors

java.lang.Object
java.lang.Enum<Errors>
io.mosip.kernel.openid.bridge.api.constants.Errors
All Implemented Interfaces:
Serializable, Comparable<Errors>, Constable

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

    • TOKEN_NOTPRESENT_ERROR

      public static final Errors TOKEN_NOTPRESENT_ERROR
      Empty Cookie error
    • IO_EXCEPTION

      public static final Errors IO_EXCEPTION
      IO Exception
    • CANNOT_CONNECT_TO_AUTH_SERVICE

      public static final Errors CANNOT_CONNECT_TO_AUTH_SERVICE
      Cannot connect to auth service
    • RESPONSE_PARSE_ERROR

      public static final Errors RESPONSE_PARSE_ERROR
      RESPONSE_PARSE_ERROR
    • ACESSTOKEN_EXCEPTION

      public static final Errors ACESSTOKEN_EXCEPTION
    • STATE_EXCEPTION

      public static final Errors STATE_EXCEPTION
    • REST_EXCEPTION

      public static final Errors REST_EXCEPTION
    • INVALID_TOKEN

      public static final Errors INVALID_TOKEN
    • EXCEPTION

      public static final Errors EXCEPTION
    • ALLOWED_URL_EXCEPTION

      public static final Errors ALLOWED_URL_EXCEPTION
    • STATE_NULL_EXCEPTION

      public static final Errors STATE_NULL_EXCEPTION
    • STATE_NOT_UUID_EXCEPTION

      public static final Errors STATE_NOT_UUID_EXCEPTION
    • UNSUPPORTED_ENCODING_EXCEPTION

      public static final Errors UNSUPPORTED_ENCODING_EXCEPTION
    • JWT_SIGN_EXCEPTION

      public static final Errors JWT_SIGN_EXCEPTION
    • JSON_PROCESSING_EXCEPTION

      public static final Errors JSON_PROCESSING_EXCEPTION
  • Method Details

    • values

      public static Errors[] 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 Errors 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
    • getErrorCode

      public String getErrorCode()
      Function to get error code
      Returns:
      errorCode
    • getErrorMessage

      public String getErrorMessage()
      Function to get the error message
      Returns:
      errorMessager