Class WrappedException

    • Constructor Detail

      • WrappedException

        public WrappedException​(Throwable cause)
        Wraps checked exception. Wrapped checked exception can be later retrieved using Throwable.getCause() method.
        Parameters:
        cause - exception to be wrapped, usually a checked exception
        See Also:
        Exceptions.wrap()