public class ManExceptionUtil extends Object
| Constructor and Description |
|---|
ManExceptionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static RuntimeException |
unchecked(Throwable t)
Throws an unchecked exception without having to declare or catch it.
|
public static RuntimeException unchecked(Throwable t)
t - Any exceptionRuntimeException return type is here so you can do this:throw ManExceptionUtil.uncheck(new SomeException())Copyright © 2019. All rights reserved.