public class TracingExceptionInterceptor extends Object implements com.mysql.cj.exceptions.ExceptionInterceptor
To use it, both TracingQueryInterceptor and TracingExceptionInterceptor must be added by
appending ?queryInterceptors=brave.mysql8.TracingQueryInterceptor&exceptionInterceptors=brave.mysql8.TracingExceptionInterceptor.
| Constructor and Description |
|---|
TracingExceptionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
com.mysql.cj.exceptions.ExceptionInterceptor |
init(Properties properties,
com.mysql.cj.log.Log log) |
Exception |
interceptException(Exception e) |
public com.mysql.cj.exceptions.ExceptionInterceptor init(Properties properties, com.mysql.cj.log.Log log)
init in interface com.mysql.cj.exceptions.ExceptionInterceptorpublic void destroy()
destroy in interface com.mysql.cj.exceptions.ExceptionInterceptorCopyright © 2020. All rights reserved.