public class SQLExceptionList
extends java.sql.SQLException
The first exception in the list is used as this exception's cause and is accessible with the usual
Throwable.getCause() while the complete list is accessible with getCauseList().
| Constructor and Description |
|---|
SQLExceptionList(java.util.List<? extends java.lang.Throwable> causeList)
Creates a new exception caused by a list of exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends java.lang.Throwable> |
getCauseList()
Gets the cause list.
|
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.