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, setNextException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.