Class EtaPlusClientExceptions.EtaPlusServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
energy.eddie.regionconnector.de.eta.exceptions.EtaPlusClientExceptions.EtaPlusServerException
- All Implemented Interfaces:
Serializable
- Enclosing class:
EtaPlusClientExceptions
Thrown when the ETA Plus API responds with a 5xx server error.
This signals a transient condition on the ETA Plus side where a retry strategy
(with backoff) is appropriate.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEtaPlusServerException(String message, int statusCode) EtaPlusServerException(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
-
EtaPlusServerException
-
EtaPlusServerException
-
-
Method Details
-
statusCode
public int statusCode()
-