Class DefaultErrorRouteInfo<T,R>

Type Parameters:
T - The target
R - The result
All Implemented Interfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, ErrorRouteInfo<T,R>, MethodBasedRouteInfo<T,R>, RequestMatcher, RouteInfo<R>

@Internal public final class DefaultErrorRouteInfo<T,R> extends DefaultRequestMatcher<T,R> implements ErrorRouteInfo<T,R>
The default error route info implementation.
Since:
4.0.0
  • Constructor Details

    • DefaultErrorRouteInfo

      public DefaultErrorRouteInfo(@Nullable @Nullable Class<?> originatingType, Class<? extends Throwable> exceptionType, io.micronaut.inject.MethodExecutionHandle<T,R> targetMethod, @Nullable @Nullable String bodyArgumentName, @Nullable @Nullable io.micronaut.core.type.Argument<?> bodyArgument, List<io.micronaut.http.MediaType> consumesMediaTypes, List<io.micronaut.http.MediaType> producesMediaTypes, List<Predicate<io.micronaut.http.HttpRequest<?>>> predicates, io.micronaut.core.convert.ConversionService conversionService, io.micronaut.http.body.MessageBodyHandlerRegistry messageBodyHandlerRegistry)
  • Method Details