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>
@Provider public class LoggingSQLExceptionMapper extends LoggingExceptionMapper<SQLException>
Iterates throughSQLExceptions to log all causes
-
-
Field Summary
-
Fields inherited from class io.dropwizard.jersey.errors.LoggingExceptionMapper
logger
-
-
Constructor Summary
Constructors Constructor Description LoggingSQLExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidlogException(long id, SQLException exception)-
Methods inherited from class io.dropwizard.jersey.errors.LoggingExceptionMapper
formatErrorMessage, formatLogMessage, logException, toResponse
-
-
-
-
Method Detail
-
logException
protected void logException(long id, SQLException exception)- Overrides:
logExceptionin classLoggingExceptionMapper<SQLException>
-
-