Class GraphQLExceptionWhileDataFetching
java.lang.Object
graphql.ExceptionWhileDataFetching
io.smallrye.graphql.execution.error.GraphQLExceptionWhileDataFetching
- All Implemented Interfaces:
graphql.GraphQLError,Serializable
public class GraphQLExceptionWhileDataFetching
extends graphql.ExceptionWhileDataFetching
Simple way to override the message to only use the original exception message
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface graphql.GraphQLError
graphql.GraphQLError.Builder<B extends graphql.GraphQLError.Builder<B>> -
Constructor Summary
ConstructorsConstructorDescriptionGraphQLExceptionWhileDataFetching(graphql.execution.ResultPath path, Throwable exception, graphql.language.SourceLocation sourceLocation) GraphQLExceptionWhileDataFetching(String message, graphql.execution.ResultPath path, Throwable exception, graphql.language.SourceLocation sourceLocation) -
Method Summary
Methods inherited from class graphql.ExceptionWhileDataFetching
getErrorType, getException, getExtensions, getLocations, getPath, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface graphql.GraphQLError
toSpecification
-
Constructor Details
-
GraphQLExceptionWhileDataFetching
public GraphQLExceptionWhileDataFetching(graphql.execution.ResultPath path, Throwable exception, graphql.language.SourceLocation sourceLocation) -
GraphQLExceptionWhileDataFetching
-
-
Method Details
-
getMessage
- Specified by:
getMessagein interfacegraphql.GraphQLError- Overrides:
getMessagein classgraphql.ExceptionWhileDataFetching
-
equals
- Overrides:
equalsin classgraphql.ExceptionWhileDataFetching
-
hashCode
public int hashCode()- Overrides:
hashCodein classgraphql.ExceptionWhileDataFetching
-