Package graphql
Class GraphqlErrorException.BuilderBase<T extends GraphqlErrorException.BuilderBase<T,B>,B extends GraphqlErrorException>
java.lang.Object
graphql.GraphqlErrorException.BuilderBase<T,B>
- Type Parameters:
T
- the derived classB
- the class to be built
- Direct Known Subclasses:
CoercingParseLiteralException.Builder
,CoercingParseValueException.Builder
,CoercingSerializeException.Builder
,GraphqlErrorException.Builder
- Enclosing class:
GraphqlErrorException
protected abstract static class GraphqlErrorException.BuilderBase<T extends GraphqlErrorException.BuilderBase<T,B>,B extends GraphqlErrorException>
extends Object
A trait like base class that contains the properties that GraphqlErrorException handles and can
be used by other classes to derive their own builders.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Throwable
protected ErrorClassification
protected String
protected List
<SourceLocation> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract B
build()
errorClassification
(ErrorClassification errorClassification) extensions
(Map<String, Object> extensions) sourceLocation
(SourceLocation sourceLocation) sourceLocations
(List<SourceLocation> sourceLocations)
-
Field Details
-
message
-
cause
-
errorClassification
-
sourceLocations
-
extensions
-
path
-
-
Constructor Details
-
BuilderBase
protected BuilderBase()
-
-
Method Details
-
message
-
cause
-
sourceLocation
-
sourceLocations
-
errorClassification
-
path
-
extensions
-
build
-