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 message is invalid.
If this exception is thrown, the challenge message does not match the actual challenge, and must be rejected.
Reasons may be:
- 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
. -
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 exceptioncause
- Cause
-