Package io.dropwizard.jdbi3.jersey
Class LoggingSQLExceptionMapper
java.lang.Object
io.dropwizard.jersey.errors.LoggingExceptionMapper<SQLException>
io.dropwizard.jdbi3.jersey.LoggingSQLExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<SQLException>
Iterates through
SQLExceptions to log all causes-
Field Summary
Fields inherited from class io.dropwizard.jersey.errors.LoggingExceptionMapper
logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.dropwizard.jersey.errors.LoggingExceptionMapper
formatErrorMessage, formatLogMessage, logException, toResponse
-
Constructor Details
-
LoggingSQLExceptionMapper
public LoggingSQLExceptionMapper()- Since:
- 2.0
-
-
Method Details
-
logException
- Overrides:
logExceptionin classLoggingExceptionMapper<SQLException>
-