Class BeanValidationError

  • All Implemented Interfaces:
    graphql.GraphQLError, Serializable

    public class BeanValidationError
    extends Object
    implements graphql.GraphQLError
    See Also:
    Serialized Form
    • Constructor Detail

      • BeanValidationError

        public BeanValidationError​(jakarta.validation.ConstraintViolation<Object> violation,
                                   List<graphql.language.NamedNode<?>> requestedPath)
    • Method Detail

      • getErrorType

        public graphql.ErrorClassification getErrorType()
        Specified by:
        getErrorType in interface graphql.GraphQLError
      • getMessage

        public String getMessage()
        Specified by:
        getMessage in interface graphql.GraphQLError
      • getLocations

        public List<graphql.language.SourceLocation> getLocations()
        Specified by:
        getLocations in interface graphql.GraphQLError
      • getPath

        public List<Object> getPath()
        Specified by:
        getPath in interface graphql.GraphQLError
      • getExtensions

        public Map<String,​Object> getExtensions()
        Specified by:
        getExtensions in interface graphql.GraphQLError