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 class
B - 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 Details

  • Constructor Details

    • BuilderBase

      protected BuilderBase()
  • Method Details

    • asDerivedType

      private T asDerivedType()
    • message

      public T message(String message)
    • cause

      public T cause(Throwable cause)
    • sourceLocation

      public T sourceLocation(SourceLocation sourceLocation)
    • sourceLocations

      public T sourceLocations(List<SourceLocation> sourceLocations)
    • errorClassification

      public T errorClassification(ErrorClassification errorClassification)
    • path

      public T path(List<Object> path)
    • extensions

      public T extensions(Map<String,Object> extensions)
    • build

      public abstract B build()