public class NestedTransactionHelpException extends RuntimeException
| Constructor and Description |
|---|
NestedTransactionHelpException(String message) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
fillInStackTrace()
异常构造函数会调用 fillInStackTrace() 构建整个调用栈,消耗较大
而 NestedTransactionHelpException 无需使用调用栈信息,覆盖
此方法用于提升性能
|
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NestedTransactionHelpException(String message)
public Throwable fillInStackTrace()
fillInStackTrace in class ThrowableCopyright © 2025. All rights reserved.