Class MySubscriptionExceptionResolverAdapter

java.lang.Object
org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter
org.forum.server.specific_code.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
  • Field Summary

    Fields inherited from class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected graphql.GraphQLError
     

    Methods inherited from class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter

    isThreadLocalContextAware, resolveException, resolveToMultipleErrors, setThreadLocalContextAware

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MySubscriptionExceptionResolverAdapter

      public MySubscriptionExceptionResolverAdapter()
  • Method Details

    • resolveToSingleError

      protected graphql.GraphQLError resolveToSingleError(Throwable exception)
      Overrides:
      resolveToSingleError in class org.springframework.graphql.execution.SubscriptionExceptionResolverAdapter