public class ListException extends Exception
Constructor and Description |
---|
ListException(String message,
List<Throwable> exceptionList)
Constructs a new exception with the specified detail message.
|
Modifier and Type | Method and Description |
---|---|
List<Throwable> |
getExceptionList()
Gets the list of exceptions.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ListException(String message, List<Throwable> exceptionList)
Throwable.initCause(java.lang.Throwable)
.message
- the detail message. The detail message is saved for later retrieval by the Throwable.getMessage()
method.exceptionList
- a list of exceptions.public List<Throwable> getExceptionList()
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.