Package com.jsgalactic.axiom.lifecycle
Class TlsConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.jsgalactic.axiom.lifecycle.TlsConfigurationException
- All Implemented Interfaces:
Serializable
Thrown when TLS material cannot be used: a file is missing or unreadable, a PEM block is
malformed, the key does not belong to the certificate, a certificate is expired or not yet valid,
or the configured protocols and cipher suites leave nothing the JVM supports. It is thrown when a
listener starts and by
Server.reloadTls().
Messages name the file or the problem, never the content of a key, a certificate or a password, and the exception carries no cause that could hold such content.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TlsConfigurationException
Creates the exception.- Parameters:
message- what is wrong, without key material
-