Class EtaPlusClientExceptions.AuthenticationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
energy.eddie.regionconnector.de.eta.exceptions.EtaPlusClientExceptions.AuthenticationException
All Implemented Interfaces:
Serializable
Enclosing class:
EtaPlusClientExceptions

public static class EtaPlusClientExceptions.AuthenticationException extends RuntimeException
Thrown when the ETA Plus API responds with HTTP 401 or 403 due to invalid credentials. This is distinct from a permission-level 403 (where the final customer revoked access) — an AuthenticationException means our own client credentials are rejected.

Retry will not help; the credentials or client configuration must be fixed.

See Also:
  • Constructor Details

    • AuthenticationException

      public AuthenticationException(String message, int statusCode)
    • AuthenticationException

      public AuthenticationException(String message, int statusCode, Throwable cause)
  • Method Details

    • statusCode

      public int statusCode()