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() |
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
public SQLExceptionList(List<? extends Throwable> causeList)
causeList
- a list of cause exceptions.public List<? extends Throwable> getCauseList()
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.