Class ThrowableCollector
java.lang.Object
org.antublue.test.engine.internal.util.ThrowableCollector
Class to collect a list of Throwable Exceptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod to collect a Throwable ExceptionsvoidaddAll(ThrowableCollector throwableCollector) Method to add a ThrowableCollector's Throwable Exceptions to this ThrowableCollectorgetFirst()Method to get the first Throwable ExceptiongetList()Method to get the List of Throwable ExceptionsbooleanisEmpty()Method to return whether the ThrowableCollector has any Throwable Exceptionsintsize()Method to get the number of Throwable Exception collected
-
Constructor Details
-
ThrowableCollector
public ThrowableCollector()Constructor
-
-
Method Details
-
add
Method to collect a Throwable Exceptions- Parameters:
throwable- throwable
-
addAll
Method to add a ThrowableCollector's Throwable Exceptions to this ThrowableCollector- Parameters:
throwableCollector- throwableCollector
-
size
public int size()Method to get the number of Throwable Exception collected- Returns:
- the return value
-
isEmpty
public boolean isEmpty()Method to return whether the ThrowableCollector has any Throwable Exceptions- Returns:
- the return value
-
getFirst
Method to get the first Throwable Exception- Returns:
- the return value
-
getList
Method to get the List of Throwable Exceptions- Returns:
- the return value
-