Class JdbiExceptionsBundle

java.lang.Object
io.dropwizard.jdbi3.bundles.JdbiExceptionsBundle
All Implemented Interfaces:
io.dropwizard.core.ConfiguredBundle<io.dropwizard.core.Configuration>

public class JdbiExceptionsBundle extends Object implements io.dropwizard.core.ConfiguredBundle<io.dropwizard.core.Configuration>
A bundle for logging SQLExceptions and JdbiExceptions so that their actual causes aren't overlooked.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(io.dropwizard.core.Configuration configuration, io.dropwizard.core.setup.Environment 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
  • Constructor Details

    • JdbiExceptionsBundle

      public JdbiExceptionsBundle()
  • Method Details

    • run

      public void run(io.dropwizard.core.Configuration configuration, io.dropwizard.core.setup.Environment environment)
      Specified by:
      run in interface io.dropwizard.core.ConfiguredBundle<io.dropwizard.core.Configuration>