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.
| 构造器和说明 |
|---|
TracingExceptionInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 com.mysql.cj.exceptions.ExceptionInterceptorpublic void destroy()
destroy 在接口中 com.mysql.cj.exceptions.ExceptionInterceptorCopyright © 2020. All rights reserved.