Package io.dropwizard.jdbi3.bundles
Class JdbiExceptionsBundle
- java.lang.Object
-
- io.dropwizard.jdbi3.bundles.JdbiExceptionsBundle
-
- All Implemented Interfaces:
ConfiguredBundle<Configuration>
public class JdbiExceptionsBundle extends Object implements ConfiguredBundle<Configuration>
A bundle for loggingSQLExceptions andJdbiExceptions so that their actual causes aren't overlooked.
-
-
Constructor Summary
Constructors Constructor Description JdbiExceptionsBundle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun(Configuration configuration, Environment environment)Initializes the environment.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.dropwizard.core.ConfiguredBundle
initialize
-
-
-
-
Method Detail
-
run
public void run(Configuration configuration, Environment environment)
Description copied from interface:ConfiguredBundleInitializes the environment.- Specified by:
runin interfaceConfiguredBundle<Configuration>- Parameters:
configuration- the configuration objectenvironment- the application'sEnvironment
-
-