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 ([email protected])
-
-
Constructor Summary
Constructors Constructor Description ExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<graphql.execution.DataFetcherExceptionHandlerResult>
handleException(graphql.execution.DataFetcherExceptionHandlerParameters handlerParameters)
-
-
-
Method Detail
-
handleException
public CompletableFuture<graphql.execution.DataFetcherExceptionHandlerResult> handleException(graphql.execution.DataFetcherExceptionHandlerParameters handlerParameters)
- Specified by:
handleException
in interfacegraphql.execution.DataFetcherExceptionHandler
-
-