| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static IOException | |
| public static void | |
| public static void | |
| public static void | throwGenericInternal()
This method is just added for convenience, and only to be used for assertion style of exceptions. |
| public static void | |
| public static void | |
| public static void | throwRuntimeException(Throwable t)
Method that can be used to convert any Throwable to a RuntimeException; conversion is only done for checked exceptions. |
| ExceptionUtil | back to summary |
|---|---|
| private ExceptionUtil() | |
| constructIOException | back to summary |
|---|---|
| public static IOException constructIOException(String msg, Throwable src) | |
| setInitCause | back to summary |
|---|---|
| public static void setInitCause(Throwable newT, Throwable rootT) | |
| throwAsIllegalArgument | back to summary |
|---|---|
| public static void throwAsIllegalArgument(Throwable t) | |
| throwGenericInternal | back to summary |
|---|---|
| public static void throwGenericInternal() This method is just added for convenience, and only to be used for assertion style of exceptions. For errors that actually occur, method with the string arg should be called instead. | |
| throwIfUnchecked | back to summary |
|---|---|
| public static void throwIfUnchecked(Throwable t) | |
| throwInternal | back to summary |
|---|---|
| public static void throwInternal(String msg) | |
| throwRuntimeException | back to summary |
|---|---|
| public static void throwRuntimeException(Throwable t) Method that can be used to convert any Throwable to a RuntimeException; conversion is only done for checked exceptions. | |