Class ExceptionHandler

  • All Implemented Interfaces:
    graphql.execution.DataFetcherExceptionHandler

    public class ExceptionHandler
    extends Object
    implements graphql.execution.DataFetcherExceptionHandler
    Here we have the ability to mask certain messages to the client (for security reasons)
    Author:
    Phillip Kruger ([email protected])
    • Constructor Detail

      • ExceptionHandler

        public ExceptionHandler()
    • Method Detail

      • handleException

        public CompletableFuture<graphql.execution.DataFetcherExceptionHandlerResult> handleException​(graphql.execution.DataFetcherExceptionHandlerParameters handlerParameters)
        Specified by:
        handleException in interface graphql.execution.DataFetcherExceptionHandler