nestedexceptionis org.apache.
时间: 2023-10-29 22:47:44 浏览: 28
commons.lang.exception.NestableException
A NestableException is an exception class that allows other exceptions to be nested within it, forming a chain of exceptions. This can be useful for tracing the root cause of an exception.
The org.apache.commons.lang.exception package provides a set of exception classes that extend the NestableException class, including NestableRuntimeException, NestableError, and NestableIOException. These classes provide additional functionality for handling nested exceptions, such as methods for getting the full stack trace of all nested exceptions.
By using nested exceptions, developers can create more informative and robust error handling mechanisms that can help diagnose and fix problems more quickly.