Enum Class AuthorizationError

java.lang.Object
java.lang.Enum<AuthorizationError>
com.here.sdk.core.AuthorizationError
All Implemented Interfaces:
Serializable, Comparable<AuthorizationError>, Constable

public enum AuthorizationError extends Enum<AuthorizationError>

AuthorizationError represents an error's enum

  • Enum Constant Details

    • INVALID_PARAMETER

      public static final AuthorizationError INVALID_PARAMETER

      Invalid parameter was received.

    • FAILED

      public static final AuthorizationError FAILED

      Operation failed. See detailed information in log.

    • EXTERNAL_AUTHENTICATION

      public static final AuthorizationError EXTERNAL_AUTHENTICATION

      External authentication is used, therefore authorization is not available. Currently, only the KEY_AND_SECRET authentication method is supported.

  • Method Details

    • values

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