Class GraphQLExceptionWhileDataFetching
- java.lang.Object
-
- graphql.ExceptionWhileDataFetching
-
- io.smallrye.graphql.execution.error.GraphQLExceptionWhileDataFetching
-
- All Implemented Interfaces:
graphql.GraphQLError,Serializable
public class GraphQLExceptionWhileDataFetching extends graphql.ExceptionWhileDataFetchingSimple way to override the message to only use the original exception message- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GraphQLExceptionWhileDataFetching(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetMessage()inthashCode()-
Methods inherited from class graphql.ExceptionWhileDataFetching
getErrorType, getException, getExtensions, getLocations, getPath, toString
-
-
-
-
Constructor Detail
-
GraphQLExceptionWhileDataFetching
public GraphQLExceptionWhileDataFetching(graphql.execution.ResultPath path, Throwable exception, graphql.language.SourceLocation sourceLocation)
-
-
Method Detail
-
getMessage
public String getMessage()
- Specified by:
getMessagein interfacegraphql.GraphQLError- Overrides:
getMessagein classgraphql.ExceptionWhileDataFetching
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classgraphql.ExceptionWhileDataFetching
-
hashCode
public int hashCode()
- Overrides:
hashCodein classgraphql.ExceptionWhileDataFetching
-
-