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

      • onException

        public graphql.execution.DataFetcherExceptionHandlerResult onException​(graphql.execution.DataFetcherExceptionHandlerParameters handlerParameters)
        Specified by:
        onException in interface graphql.execution.DataFetcherExceptionHandler