@Provider public class LoggingJdbiExceptionMapper extends LoggingExceptionMapper<org.jdbi.v3.core.JdbiException>
JdbiException's cause if it's a SQLException otherwise log as normal.logger| Constructor and Description |
|---|
LoggingJdbiExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
logException(long id,
org.jdbi.v3.core.JdbiException exception) |
formatErrorMessage, formatLogMessage, logException, toResponseprotected void logException(long id,
org.jdbi.v3.core.JdbiException exception)
logException in class LoggingExceptionMapper<org.jdbi.v3.core.JdbiException>Copyright © 2024. All rights reserved.