public class ExceptionAccumulator extends Object
| Constructor and Description |
|---|
ExceptionAccumulator() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(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(Throwable e)
InterruptedException
then Thread.currentThread().interrupt() is called.e - the exceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.