- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.shredzone.acme4j.exception.AcmeProtocolException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AcmeNotSupportedException
public class AcmeProtocolException extends RuntimeException
A runtime exception that is thrown when the response of the server is violating the RFC, and could not be handled or parsed for that reason. It is an indicator that the CA does not fully comply with the RFC, and is usually not expected to be thrown.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AcmeProtocolException(String msg)
Creates a newAcmeProtocolException
.AcmeProtocolException(String msg, Throwable cause)
Creates a newAcmeProtocolException
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AcmeProtocolException
public AcmeProtocolException(String msg)
Creates a newAcmeProtocolException
.- Parameters:
msg
- Reason of the exception
-
AcmeProtocolException
public AcmeProtocolException(String msg, Throwable cause)
Creates a newAcmeProtocolException
.- Parameters:
msg
- Reason of the exceptioncause
- Cause
-
-