java.lang.Object
java.lang.Throwable
java.lang.Exception
org.shredzone.acme4j.exception.AcmeException
org.shredzone.acme4j.exception.AcmeServerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AcmeRateLimitedException
,AcmeUnauthorizedException
,AcmeUserActionRequiredException
The ACME server returned an error. The exception contains a
Problem
document
containing the exact cause of the error.
For some special cases, subclasses of this exception are thrown, so they can be handled individually.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AcmeServerException
Creates a newAcmeServerException
.- Parameters:
problem
-Problem
that caused the exception
-
-
Method Details
-
getType
Returns the error type. -
getProblem
Returns theProblem
that caused the exception
-