Class CustomExceptionHandler<E extends Exception>
java.lang.Object
net.dzikoysk.funnycommands.resources.exceptions.CustomExceptionHandler<E>
- All Implemented Interfaces:
BiFunction<Context,,E, Boolean> DetailedExceptionHandler<E>
public final class CustomExceptionHandler<E extends Exception>
extends Object
implements DetailedExceptionHandler<E>
-
Constructor Summary
ConstructorsConstructorDescriptionCustomExceptionHandler(Class<E> type, BiFunction<Context, E, Boolean> exceptionConsumer) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
CustomExceptionHandler
-
CustomExceptionHandler
-
-
Method Details
-
apply
-
getExceptionType
- Specified by:
getExceptionTypein interfaceDetailedExceptionHandler<E extends Exception>
-