Class Exceptions


  • public final class Exceptions
    extends Object
    Static Exceptions Utilities.
    • Method Detail

      • launderThrowable

        public static RuntimeException launderThrowable​(Throwable t)
        Coerce an unchecked Throwable to a RuntimeException:
        Parameters:
        t - Original throwable.
        Returns:
        Wrapped exception.