Package org.apache.tomcat.dbcp.dbcp2
Class SQLExceptionList
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.sql.SQLException
- 
- org.apache.tomcat.dbcp.dbcp2.SQLExceptionList
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Iterable<java.lang.Throwable>
 
 public class SQLExceptionList extends java.sql.SQLExceptionAn SQLException based on a list of Throwable causes.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 withgetCauseList().- Since:
- 2.7.0
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description SQLExceptionList(java.util.List<? extends java.lang.Throwable> causeList)Creates a new exception caused by a list of exceptions.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<? extends java.lang.Throwable>getCauseList()Gets the cause list.- 
Methods inherited from class java.sql.SQLExceptiongetErrorCode, getNextException, getSQLState, iterator, setNextException
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
-