@PublicApi public class MissingRootTypeException extends GraphQLException implements GraphQLError
GraphQLError.Builder<B extends GraphQLError.Builder<B>>
Constructor and Description |
---|
MissingRootTypeException(java.lang.String message,
SourceLocation sourceLocation) |
Modifier and Type | Method and Description |
---|---|
ErrorType |
getErrorType() |
java.util.List<SourceLocation> |
getLocations() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtensions, getMessage, getPath, newError, toSpecification
public MissingRootTypeException(java.lang.String message, SourceLocation sourceLocation)
public java.util.List<SourceLocation> getLocations()
getLocations
in interface GraphQLError
SourceLocation
describes the beginning of an associated syntax elementpublic ErrorType getErrorType()
getErrorType
in interface GraphQLError