Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(T) - Method in interface de.team33.patterns.exceptional.dione.XConsumer
-
Performs this operation on the given argument.
- accept(T, U) - Method in interface de.team33.patterns.exceptional.dione.XBiConsumer
-
Performs this operation on the given arguments.
- any(Class<X>, Class<? extends RuntimeException>...) - Static method in class de.team33.patterns.exceptional.dione.Ignoring
-
Returns a new instance by a given (checked) exceptionClass to be ignored.
- apply(T) - Method in interface de.team33.patterns.exceptional.dione.XFunction
-
Performs this operation on the given argument and returns a result.
- apply(T, U) - Method in interface de.team33.patterns.exceptional.dione.XBiFunction
-
Performs this operation on the given arguments and returns a result.
B
- biConsumer(XBiConsumer<? super T, ? super U, ?>) - Static method in class de.team33.patterns.exceptional.dione.Conversion
-
Converts an
XBiConsumerthat may throw a checked exception to aBiConsumerthat, when executed, wraps any occurring checked exception as aWrappedException. - biConsumer(XBiConsumer<? super T, ? super U, ?>) - Method in class de.team33.patterns.exceptional.dione.Converter
-
Converts an
XBiConsumerthat may throw a checked exception to aBiConsumerthat, when executed, wraps any occurring checked exception as a specific unchecked exception. - biFunction(XBiFunction<? super T, ? super U, ? extends R, ?>) - Static method in class de.team33.patterns.exceptional.dione.Conversion
-
Converts an
XBiFunctionthat may throw a checked exception to aBiFunctionthat, when executed, wraps any occurring checked exception as aWrappedException. - biFunction(XBiFunction<? super T, ? super U, ? extends R, ?>) - Method in class de.team33.patterns.exceptional.dione.Converter
-
Converts an
XBiFunctionthat may throw a checked exception to aBiFunctionthat, when executed, wraps any occurring checked exception as a specific unchecked exception. - biPredicate(XBiPredicate<? super T, ? super U, ?>) - Static method in class de.team33.patterns.exceptional.dione.Conversion
-
Converts an
XBiPredicatethat may throw a checked exception to aBiPredicatethat, when executed, wraps any occurring checked exception as aWrappedException. - biPredicate(XBiPredicate<? super T, ? super U, ?>) - Method in class de.team33.patterns.exceptional.dione.Converter
-
Converts an
XBiPredicatethat may throw a checked exception to aBiPredicatethat, when executed, wraps any occurring checked exception as a specific unchecked exception.
C
- close() - Method in class de.team33.patterns.exceptional.dione.Revision
-
Completes this revision and returns the associated exception unchanged.
- close(Function<? super T, R>) - Method in class de.team33.patterns.exceptional.dione.Revision
-
Completes this revision, applies a given
mappingto the associated exception, and returns its result. - consumer(XConsumer<? super T, ?>) - Static method in class de.team33.patterns.exceptional.dione.Conversion
-
Converts an
XConsumerthat may throw a checked exception to aConsumerthat, when executed, wraps any occurring checked exception as aWrappedException. - consumer(XConsumer<? super T, ?>) - Method in class de.team33.patterns.exceptional.dione.Converter
- Conversion - Class in de.team33.patterns.exceptional.dione
-
A utility class that can convert certain functional constructs defined in this module (e.g.
- Converter - Class in de.team33.patterns.exceptional.dione
-
A tool class that can convert certain functional constructs defined in this module (e.g.
D
- de.team33.patterns.exceptional.dione - package de.team33.patterns.exceptional.dione
E
- ExpectationException - Exception in de.team33.patterns.exceptional.dione
-
An unchecked exception that is used to signal an unexpected state, particularly an unexpected exception.
- ExpectationException(String) - Constructor for exception de.team33.patterns.exceptional.dione.ExpectationException
-
Initializes a new instance with the given message.
- ExpectationException(String, Throwable) - Constructor for exception de.team33.patterns.exceptional.dione.ExpectationException
-
Initializes a new instance with the given message and cause.
- ExpectationException(Throwable) - Constructor for exception de.team33.patterns.exceptional.dione.ExpectationException
-
Initializes a new instance with the given cause and its
message.
F
- function(XFunction<? super T, ? extends R, ?>) - Static method in class de.team33.patterns.exceptional.dione.Conversion
-
Converts an
XFunctionthat may throw a checked exception to aFunctionthat, when executed, wraps any occurring checked exception as aWrappedException. - function(XFunction<? super T, ? extends R, ?>) - Method in class de.team33.patterns.exceptional.dione.Converter
G
- get() - Method in interface de.team33.patterns.exceptional.dione.XSupplier
-
Performs this operation and returns a result.
- get(XSupplier<? extends R, ? extends X>) - Method in class de.team33.patterns.exceptional.dione.Ignoring
-
Returns the result of running a given
XSupplierignoring an exception that may occur. - get(XSupplier<R, ?>) - Static method in class de.team33.patterns.exceptional.dione.Conversion
-
Returns the result of a given
XSupplierand wraps any checked exception that may occur as aWrappedException. - get(XSupplier<R, ?>) - Method in class de.team33.patterns.exceptional.dione.Converter
-
Returns the result of a given
XSupplierand wraps any checked exception that may occur as a specific unchecked exception.
I
- Ignoring<X extends Exception> - Class in de.team33.patterns.exceptional.dione
-
A tool class that can ignore a specific (checked) exception type when executing a corresponding code fragment.
M
- method(String, BiFunction<? super String, ? super X1, ? extends X2>) - Static method in class de.team33.patterns.exceptional.dione.Wrapping
-
Results in a wrapping method such as is required in some places in this library to wrap an exception in another exception.
- method(BiFunction<? super String, ? super X1, ? extends X2>) - Static method in class de.team33.patterns.exceptional.dione.Wrapping
-
Results in a wrapping method such as is required in some places in this library to wrap an exception in another exception.
O
- of(T) - Static method in class de.team33.patterns.exceptional.dione.Revision
-
Returns a new instance to review and handle a given exception.
P
- predicate(XPredicate<? super T, ?>) - Static method in class de.team33.patterns.exceptional.dione.Conversion
-
Converts an
XPredicatethat may throw a checked exception to aPredicatethat, when executed, wraps any occurring checked exception as aWrappedException. - predicate(XPredicate<? super T, ?>) - Method in class de.team33.patterns.exceptional.dione.Converter
-
Converts an
XPredicatethat may throw a checked exception to aPredicatethat, when executed, wraps any occurring checked exception as a specific unchecked exception.
R
- reThrow(Class<X>) - Method in class de.team33.patterns.exceptional.dione.Revision
-
Rethrows the associated exception if it matches the given exception type.
- reThrow(Class<X>, R) - Method in class de.team33.patterns.exceptional.dione.Revision
-
Rethrows the associated exception if it matches the given exception type, otherwise a given result will be returned.
- reThrowCauseAs(Class<X>) - Method in exception de.team33.patterns.exceptional.dione.WrappedException
-
Rethrows the cause of this exception if it matches the given exception type, otherwise this exception will be returned.
- reThrowCauseIf(Predicate<? super Throwable>, Function<? super Throwable, X>) - Method in exception de.team33.patterns.exceptional.dione.WrappedException
-
Applies a given
mappingto the cause of this exception if the givenconditionapplies and throws the result, otherwise this exception will be returned. - Revision<T extends Throwable> - Class in de.team33.patterns.exceptional.dione
-
A tool that supports a revision and handling of an exception.
- run() - Method in interface de.team33.patterns.exceptional.dione.XRunnable
-
Performs this operation.
- run(XRunnable<?>) - Static method in class de.team33.patterns.exceptional.dione.Conversion
-
Runs a given
XRunnablethat wraps a checked exception that may occur as aWrappedException. - run(XRunnable<?>) - Method in class de.team33.patterns.exceptional.dione.Converter
-
Runs a given
XRunnablethat wraps a checked exception that may occur as a specific unchecked exception. - run(XRunnable<? extends X>) - Method in class de.team33.patterns.exceptional.dione.Ignoring
-
Runs a given
XRunnableignoring an exception that may occur. - runnable(XRunnable<?>) - Static method in class de.team33.patterns.exceptional.dione.Conversion
-
Converts an
XRunnablethat may throw a checked exception to aRunnablethat, when executed, wraps any occurring checked exception as aWrappedException. - runnable(XRunnable<?>) - Method in class de.team33.patterns.exceptional.dione.Converter
S
- supplier(XSupplier<? extends R, ?>) - Static method in class de.team33.patterns.exceptional.dione.Conversion
-
Converts an
XSupplierthat may throw a checked exception to aSupplierthat, when executed, wraps any occurring checked exception as aWrappedException. - supplier(XSupplier<? extends R, ?>) - Method in class de.team33.patterns.exceptional.dione.Converter
T
- test(T) - Method in interface de.team33.patterns.exceptional.dione.XPredicate
-
Performs this operation on the given argument and returns a
booleanresult. - test(T, U) - Method in interface de.team33.patterns.exceptional.dione.XBiPredicate
-
Performs this operation on the given arguments and returns a
booleanresult. - throwIf(Predicate<? super T>, Function<? super T, X>) - Method in class de.team33.patterns.exceptional.dione.Revision
-
Applies a given
mappingto the associated exception if the givenconditionapplies and throws the result, otherwise this will be returned. - throwIf(Predicate<? super T>, Function<? super T, X>, R) - Method in class de.team33.patterns.exceptional.dione.Revision
-
Applies a given
mappingto the associated exception if the givenconditionapplies and throws the result, otherwise a given result will be returned.
U
- using(Function<? super Throwable, ? extends RuntimeException>) - Static method in class de.team33.patterns.exceptional.dione.Converter
-
Returns a new instance using a given wrapping method.
V
- varying(String, Function<? super String, ? extends X2>) - Static method in class de.team33.patterns.exceptional.dione.Wrapping
-
Results in a wrapping method such as is required in some places in this library to wrap an exception in another exception.
- varying(Function<? super String, ? extends X2>) - Static method in class de.team33.patterns.exceptional.dione.Wrapping
-
Results in a wrapping method such as is required in some places in this library to wrap an exception in another exception.
W
- WrappedException - Exception in de.team33.patterns.exceptional.dione
-
An unchecked exception dedicated to (temporarily) wrap checked exceptions.
- WrappedException(String, Throwable) - Constructor for exception de.team33.patterns.exceptional.dione.WrappedException
-
Initializes a new instance with the given message and cause.
- WrappedException(Throwable) - Constructor for exception de.team33.patterns.exceptional.dione.WrappedException
-
Initializes a new instance with the given cause and its
message. - Wrapping - Class in de.team33.patterns.exceptional.dione
-
A utility class that provides wrapping methods for exceptions.
X
- XBiConsumer<T,
U, X extends Exception> - Interface in de.team33.patterns.exceptional.dione -
A kind of consumer that allows to throw a checked exception.
- XBiFunction<T,
U, R, X extends Exception> - Interface in de.team33.patterns.exceptional.dione -
A kind of function that allows to throw a checked exception.
- XBiPredicate<T,
U, X extends Exception> - Interface in de.team33.patterns.exceptional.dione -
A kind of predicate that allows to throw a checked exception.
- XConsumer<T,
X extends Exception> - Interface in de.team33.patterns.exceptional.dione -
A kind of consumer that allows to throw a checked exception.
- XFunction<T,
R, X extends Exception> - Interface in de.team33.patterns.exceptional.dione -
A kind of function that allows to throw a checked exception.
- XPredicate<T,
X extends Exception> - Interface in de.team33.patterns.exceptional.dione -
A kind of predicate that allows to throw a checked exception.
- XRunnable<X extends Exception> - Interface in de.team33.patterns.exceptional.dione
-
A kind of runnable that allows to throw a checked exception.
- XSupplier<T,
X extends Exception> - Interface in de.team33.patterns.exceptional.dione -
A kind of supplier that allows to throw a checked exception.
All Classes and Interfaces|All Packages|Serialized Form