Package org.jdbi.v3.core.extension
Class NoSuchExtensionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jdbi.v3.core.JdbiException
org.jdbi.v3.core.extension.NoSuchExtensionException
- All Implemented Interfaces:
- Serializable
Thrown when no 
ExtensionFactory accepts a given extension type.- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionNoSuchExtensionException(Class<?> extensionClass) Creates an instance with an extension type and the default message.NoSuchExtensionException(Class<?> extensionClass, String message) Creates an instance with an extension type and a custom message.NoSuchExtensionException(Class<?> extensionClass, String message, Throwable cause) Creates an instance with an extension type and a custom message.NoSuchExtensionException(Class<?> extensionClass, Throwable cause) Creates an instance with an extension type and the default message.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
NoSuchExtensionExceptionCreates an instance with an extension type and the default message.- Parameters:
- extensionClass- The extension type. Can be null.
 
- 
NoSuchExtensionExceptionCreates an instance with an extension type and a custom message.- Parameters:
- message- The message format for the exception. Must contain exactly one- %splaceholder for the extension class name.
- extensionClass- The extension type. Can be null.
 
- 
NoSuchExtensionExceptionCreates an instance with an extension type and the default message.- Parameters:
- extensionClass- The extension type. Can be null.
- cause- A throwable that caused this exception.
 
- 
NoSuchExtensionExceptionCreates an instance with an extension type and a custom message.- Parameters:
- message- The message format for the exception. Must contain exactly one- %splaceholder for the extension class name.
- extensionClass- The extension type. Can be null.
- cause- A throwable that caused this exception.
 
 
-