private static class ThrowableHelper.Helper extends Object
Throwables.| Modifier and Type | Field and Description |
|---|---|
private Field |
causeField |
private Field |
suppressedField |
| Constructor and Description |
|---|
Helper()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private Field |
getField(String name) |
private void |
setCause(Throwable exception,
Throwable cause) |
private void |
setFieldValue(Field field,
Throwable exception,
Object value) |
private void |
setSuppressed(Throwable exception,
List<Throwable> suppressed) |
private final Field causeField
setCause(Throwable, Throwable)private final Field suppressedField
setSuppressed(Throwable, List)private Field getField(String name)
name - is the Field.getName().Field of Throwable.private void setCause(Throwable exception, Throwable cause)
exception - is the Throwable to manipulate.cause - is the new Throwable.getCause().private void setSuppressed(Throwable exception, List<Throwable> suppressed)
exception - is the Throwable to manipulate.suppressed - are the new suppressed exceptions.Copyright © 2001–2016 mmm-Team. All rights reserved.