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
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 Summary
ConstructorsConstructorDescriptionAuthenticationException(String message, int statusCode) AuthenticationException(String message, int statusCode, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationException
-
AuthenticationException
-
-
Method Details
-
statusCode
public int statusCode()
-