Class SQLExceptionList

All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class SQLExceptionList extends SQLException
An 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 with getCauseList().

Since:
2.7.0
See Also:
  • Constructor Details

    • SQLExceptionList

      public SQLExceptionList(List<? extends Throwable> causeList)
      Creates a new exception caused by a list of exceptions.
      Parameters:
      causeList - a list of cause exceptions.
  • Method Details