public class SQLExceptionList extends 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(List<? extends Throwable> causeList)
Creates a new exception caused by a list of exceptions.
|
Modifier and Type | Method and Description |
---|---|
List<? extends Throwable> |
getCauseList()
Gets the cause list.
|
getErrorCode, getNextException, getSQLState, iterator, setNextException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.