@PublicApi public class ExceptionWhileDataFetching extends java.lang.Object implements GraphQLError
GraphQLError.Helper
Constructor and Description |
---|
ExceptionWhileDataFetching(java.lang.Throwable exception) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ErrorType |
getErrorType() |
java.lang.Throwable |
getException() |
java.util.List<SourceLocation> |
getLocations() |
java.lang.String |
getMessage() |
int |
hashCode() |
java.lang.String |
toString() |
public ExceptionWhileDataFetching(java.lang.Throwable exception)
public java.lang.Throwable getException()
public java.lang.String getMessage()
getMessage
in interface GraphQLError
public java.util.List<SourceLocation> getLocations()
getLocations
in interface GraphQLError
public ErrorType getErrorType()
getErrorType
in interface GraphQLError
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object