public final class ExceptionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static RuntimeException |
softException(Exception ex)
Removes 'checkedness' of the setted exception.
|
public static RuntimeException softException(Exception ex)
For more information, see this: http://johannesbrodwall.com/2018/05/15/a-wicked-java-trick-to-make-the-jvm-forget-to-check-exceptions/
ex - checked exception.Copyright © 2019 Appulse. All rights reserved.