Search in sources :

Example 1 with LoggingJdbiExceptionMapper

use of io.dropwizard.jdbi3.jersey.LoggingJdbiExceptionMapper in project dropwizard by dropwizard.

the class JdbiExceptionsBundle method run.

@Override
public void run(Configuration configuration, Environment environment) {
    environment.jersey().register(new LoggingSQLExceptionMapper());
    environment.jersey().register(new LoggingJdbiExceptionMapper());
}
Also used : LoggingSQLExceptionMapper(io.dropwizard.jdbi3.jersey.LoggingSQLExceptionMapper) LoggingJdbiExceptionMapper(io.dropwizard.jdbi3.jersey.LoggingJdbiExceptionMapper)

Aggregations

LoggingJdbiExceptionMapper (io.dropwizard.jdbi3.jersey.LoggingJdbiExceptionMapper)1 LoggingSQLExceptionMapper (io.dropwizard.jdbi3.jersey.LoggingSQLExceptionMapper)1