| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static RuntimeException | throwAnyway(Throwable t)
Will always throw an exception, so the caller should also always throw the dummy return value to make sure the control flow remains clear. |
| private static <E extends Throwable> void |
| Sneaky | back to summary |
|---|---|
| private Sneaky() | |
| throwAnyway | back to summary |
|---|---|
| public static RuntimeException throwAnyway(Throwable t) Will always throw an exception, so the caller should also always throw the dummy return value to make sure the control flow remains clear. | |
| throwEvadingChecks | back to summary |
|---|---|
private static <E extends Throwable> void throwEvadingChecks(Throwable throwable) throws Throwable-:E
| |