Uses of Interface
org.springframework.graphql.execution.DataFetcherExceptionResolver
Package
Description
Resolvers for method parameters of annotated handler methods.
Support for GraphQL request execution, including abstractions to configure and invoke
GraphQL
.-
Uses of DataFetcherExceptionResolver in org.springframework.graphql.data.method.annotation.support
Modifier and TypeMethodDescriptionAnnotatedControllerConfigurer.getExceptionResolver()
Return aDataFetcherExceptionResolver
that resolves exceptions with@GraphQlExceptionHandler
methods in@ControllerAdvice
classes declared in Spring configuration. -
Uses of DataFetcherExceptionResolver in org.springframework.graphql.execution
Modifier and TypeClassDescriptionclass
Adapter forDataFetcherExceptionResolver
that pre-implements the asynchronous contract and exposes the following synchronous protected methods:DataFetcherExceptionResolverAdapter.resolveToSingleError(java.lang.Throwable, graphql.schema.DataFetchingEnvironment)
DataFetcherExceptionResolverAdapter.resolveToMultipleErrors(java.lang.Throwable, graphql.schema.DataFetchingEnvironment)
class
ReactiveDataFetcherExceptionResolver
for Spring Security exceptions.class
DataFetcherExceptionResolver
for Spring Security exceptions.Modifier and TypeMethodDescriptionstatic DataFetcherExceptionHandler
DataFetcherExceptionResolver.createExceptionHandler
(List<DataFetcherExceptionResolver> resolvers) Factory method to create aDataFetcherExceptionResolver
from a list of resolvers.GraphQlSource.Builder.exceptionResolvers
(List<DataFetcherExceptionResolver> resolvers) AddDataFetcherExceptionResolver
's that are invoked when aDataFetcher
raises an exception.