Package de.team33.patterns.exceptional.dione


package de.team33.patterns.exceptional.dione
This package contains variants of basic functional constructs that can throw checked exceptions, for example XFunction as a variant of Function.

In addition, it contains tools and utilities that enable the functional constructs defined here to be converted into their counterparts. For example, an XFunction can be converted into a Function, with any checked exception being wrapped in a specific unchecked exception.

The reverse conversion is trivial and does not require any utilities.

Finally, it contains tools and utilities for dealing with exceptions as well as exception types for occasional special cases.

See Also:
  • Class
    Description
    A utility class that can convert certain functional constructs defined in this module (e.g.
    A tool class that can convert certain functional constructs defined in this module (e.g.
    An unchecked exception that is used to signal an unexpected state, particularly an unexpected exception.
    Ignoring<X extends Exception>
    A tool class that can ignore a specific (checked) exception type when executing a corresponding code fragment.
    Revision<T extends Throwable>
    A tool that supports a revision and handling of an exception.
    An unchecked exception dedicated to (temporarily) wrap checked exceptions.
    A utility class that provides wrapping methods for exceptions.
    XBiConsumer<T,U,X extends Exception>
    A kind of consumer that allows to throw a checked exception.
    XBiFunction<T,U,R,X extends Exception>
    A kind of function that allows to throw a checked exception.
    XBiPredicate<T,U,X extends Exception>
    A kind of predicate that allows to throw a checked exception.
    XConsumer<T,X extends Exception>
    A kind of consumer that allows to throw a checked exception.
    XFunction<T,R,X extends Exception>
    A kind of function that allows to throw a checked exception.
    XPredicate<T,X extends Exception>
    A kind of predicate that allows to throw a checked exception.
    XRunnable<X extends Exception>
    A kind of runnable that allows to throw a checked exception.
    XSupplier<T,X extends Exception>
    A kind of supplier that allows to throw a checked exception.