Class ExceptionHandler
java.lang.Object
io.smallrye.graphql.execution.error.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 (phillip.kruger@redhat.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<graphql.execution.DataFetcherExceptionHandlerResult> handleException(graphql.execution.DataFetcherExceptionHandlerParameters handlerParameters)
-
Constructor Details
-
ExceptionHandler
public ExceptionHandler()
-
-
Method Details
-
handleException
public CompletableFuture<graphql.execution.DataFetcherExceptionHandlerResult> handleException(graphql.execution.DataFetcherExceptionHandlerParameters handlerParameters) - Specified by:
handleExceptionin interfacegraphql.execution.DataFetcherExceptionHandler
-