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 ([email protected])
- 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 boolean
equals(Object o)
String
getMessage()
int
hashCode()
-
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:
getMessage
in interfacegraphql.GraphQLError
- Overrides:
getMessage
in classgraphql.ExceptionWhileDataFetching
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classgraphql.ExceptionWhileDataFetching
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classgraphql.ExceptionWhileDataFetching
-
-