public class ExceptionAccumulator
extends java.lang.Object
| Constructor | Description |
|---|---|
ExceptionAccumulator() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(java.lang.Throwable e) |
Add an exception into the accumulated exceptions.
|
void |
propagate() |
If there is an accumulated exception, throw it
|
public void propagate()
public void add(java.lang.Throwable e)
InterruptedException
then Thread.currentThread().interrupt() is called.e - the exceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.