Class MethodExceptionHandler<C>
java.lang.Object
org.incendo.cloud.annotations.method.AnnotatedMethodHandler<C>
org.incendo.cloud.annotations.exception.MethodExceptionHandler<C>
- Type Parameters:
C- the command sender type
- All Implemented Interfaces:
ExceptionHandler<C,Throwable>
@API(status=STABLE)
public final class MethodExceptionHandler<C>
extends AnnotatedMethodHandler<C>
implements ExceptionHandler<C,Throwable>
Represents a method annotated with
ExceptionHandler.-
Constructor Summary
ConstructorsConstructorDescriptionMethodExceptionHandler(@NonNull Object instance, @NonNull Method method, @NonNull ParameterInjectorRegistry<C> injectorRegistry) Creates a new handler. -
Method Summary
Methods inherited from class org.incendo.cloud.annotations.method.AnnotatedMethodHandler
annotationAccessor, createParameterValues, createParameterValues, createParameterValues, getInjectedValue, getParameterValue, injectorRegistry, methodHandle, parameters
-
Constructor Details
-
Method Details
-
handle
- Specified by:
handlein interfaceExceptionHandler<C,Throwable> - Throws:
Throwable
-