Package org.springframework.boot.ssl
Class NoSuchSslBundleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.ssl.NoSuchSslBundleException
- All Implemented Interfaces:
Serializable
Exception indicating that an
SslBundle
was referenced with a name that does not
match any registered bundle.- Since:
- 3.1.0
- Author:
- Scott Frederick
- See Also:
-
Constructor Summary
ConstructorDescriptionNoSuchSslBundleException
(String bundleName, String message) Create a newSslBundleNotFoundException
instance.NoSuchSslBundleException
(String bundleName, String message, Throwable cause) Create a newSslBundleNotFoundException
instance. -
Method Summary
Modifier and TypeMethodDescriptionReturn the name of the bundle that was not found.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoSuchSslBundleException
Create a newSslBundleNotFoundException
instance.- Parameters:
bundleName
- the name of the bundle that could not be foundmessage
- the exception message
-
NoSuchSslBundleException
Create a newSslBundleNotFoundException
instance.- Parameters:
bundleName
- the name of the bundle that could not be foundmessage
- the exception messagecause
- the exception cause
-
-
Method Details
-
getBundleName
Return the name of the bundle that was not found.- Returns:
- the bundle name
-