Class MySubscriptionExceptionResolverAdapter
java.lang.Object
org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
org.allGraphQLCases.server.config.MySubscriptionExceptionResolverAdapter
- All Implemented Interfaces:
org.springframework.graphql.execution.SubscriptionExceptionResolver
@Component
public class MySubscriptionExceptionResolverAdapter
extends org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
Implements the spring-graphql exception management, for Subscriptions
- Author:
- etienne-sf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected graphql.GraphQLError
resolveToSingleError
(Throwable exception) Methods inherited from class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
isThreadLocalContextAware, resolveException, resolveToMultipleErrors, setThreadLocalContextAware
-
Constructor Details
-
MySubscriptionExceptionResolverAdapter
public MySubscriptionExceptionResolverAdapter()
-
-
Method Details
-
resolveToSingleError
- Overrides:
resolveToSingleError
in classorg.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
-