Module org.shredzone.acme4j.smime
Class AcmeInvalidMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.shredzone.acme4j.exception.AcmeException
org.shredzone.acme4j.smime.exception.AcmeInvalidMessageException
- All Implemented Interfaces:
Serializable
This exception is thrown when the challenge email message is invalid.
If this exception is thrown, the challenge message does not match the actual challenge or has other issues. It must be rejected.
Reasons may be (for example):
- Unexpected sender address
- Bad S/MIME signature
- Since:
- 2.15
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a newAcmeInvalidMessageException
.AcmeInvalidMessageException
(String msg, Throwable cause) Creates a newAcmeInvalidMessageException
.AcmeInvalidMessageException
(String msg, List<org.bouncycastle.i18n.ErrorBundle> errors) Creates a newAcmeInvalidMessageException
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AcmeInvalidMessageException
Creates a newAcmeInvalidMessageException
.- Parameters:
msg
- Reason of the exception
-
AcmeInvalidMessageException
Creates a newAcmeInvalidMessageException
.- Parameters:
msg
- Reason of the exceptionerrors
- List ofErrorBundle
with further details- Since:
- 2.16
-
AcmeInvalidMessageException
Creates a newAcmeInvalidMessageException
.- Parameters:
msg
- Reason of the exceptioncause
- Cause
-
-
Method Details
-
getErrors
Returns a list with further error details, if available. The list may be empty, but is nevernull
.- Since:
- 2.16
-