Class GraphQlException

All Implemented Interfaces:
graphql.GraphQLError, Serializable

public class GraphQlException extends RuntimeException implements graphql.GraphQLError
Instances of this classes will be sent back as INTERNAL_ERROR GraphQL errors, with their message
Author:
etienne-sf
See Also:
  • Constructor Details

    • GraphQlException

      public GraphQlException(String msg)
  • Method Details

    • getLocations

      public List<graphql.language.SourceLocation> getLocations()
      Specified by:
      getLocations in interface graphql.GraphQLError
    • getErrorType

      public graphql.ErrorClassification getErrorType()
      Specified by:
      getErrorType in interface graphql.GraphQLError