Uses of Interface
io.engineblock.activityapi.errorhandling.CycleErrorHandler
-
Packages that use CycleErrorHandler Package Description io.engineblock.activityapi.errorhandling -
-
Uses of CycleErrorHandler in io.engineblock.activityapi.errorhandling
Classes in io.engineblock.activityapi.errorhandling that implement CycleErrorHandler Modifier and Type Class Description classHashedErrorHandler<T extends java.lang.Throwable,R>Allow error handlers to be registered for any exception type, with an explicit handler that will be called if no specific other handler is matched.Methods in io.engineblock.activityapi.errorhandling that return CycleErrorHandler Modifier and Type Method Description static <T extends java.lang.Throwable,R>
CycleErrorHandler<T,R>CycleErrorHandlers. log(R result)static <T extends java.lang.Throwable,R>
CycleErrorHandler<T,R>CycleErrorHandlers. rethrow(java.lang.String prefix)static <T extends java.lang.Throwable,R>
CycleErrorHandler<T,R>CycleErrorHandlers. store(java.util.List<CycleErrorHandler.Triple> list, R result)Methods in io.engineblock.activityapi.errorhandling that return types with arguments of type CycleErrorHandler Modifier and Type Method Description java.util.Map<java.lang.Class<? extends T>,CycleErrorHandler<T,R>>HashedErrorHandler. getHandlers()Return the current list of active handler assignments.Methods in io.engineblock.activityapi.errorhandling with parameters of type CycleErrorHandler Modifier and Type Method Description HashedErrorHandler<T,R>HashedErrorHandler. setDefaultHandler(CycleErrorHandler<T,R> errorHandler)Set the default handler that gets called on any exceptions that do not match a class or super-class specific handler.voidHashedErrorHandler. setHandlerForClasses(CycleErrorHandler<T,R> errorHandler, java.lang.Class<? extends T>... errorClasses)Set the error handler for the specified class, and any subclasses of it.voidHashedErrorHandler. setHandlerForGroup(java.lang.String groupName, CycleErrorHandler<T,R> errorHandler)Set the error handler for a named group of exception classes.voidHashedErrorHandler. setHandlerForPattern(java.lang.String pattern, CycleErrorHandler<T,R> errorHandler)Find the matching classes from the recognized classes, and then set the handler for all of them.
-