Uses of Class
com.networknt.schema.Error
-
Packages that use Error Package Description com.networknt.schema com.networknt.schema.output com.networknt.schema.walk -
-
Uses of Error in com.networknt.schema
Methods in com.networknt.schema that return Error Modifier and Type Method Description ErrorError.BuilderSupport. build()ErrorMessageSourceError.BuilderSupport. build()ErrorFailFastAssertionException. getError()Gets the validation message.ErrorSchemaException. getError()Methods in com.networknt.schema that return types with arguments of type Error Modifier and Type Method Description List<Error>OutputFormat.Default. format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext)List<Error>ExecutionContext. getErrors()List<Error>FailFastAssertionException. getErrors()Gets the validation message.List<Error>Result. getErrors()List<Error>SchemaException. getErrors()List<Error>Schema. validate(com.fasterxml.jackson.databind.JsonNode rootNode)Validate the given root JsonNode, starting at the root of the data path.List<Error>Schema. validate(com.fasterxml.jackson.databind.JsonNode rootNode, ExecutionContextCustomizer executionCustomizer)Validate the given root JsonNode, starting at the root of the data path.List<Error>Schema. validate(com.fasterxml.jackson.databind.JsonNode rootNode, Consumer<ExecutionContext> executionCustomizer)Validate the given root JsonNode, starting at the root of the data path.List<Error>Schema. validate(AbsoluteIri input, InputFormat inputFormat)Validate the given input string using the input format, starting at the root of the data path.List<Error>Schema. validate(AbsoluteIri input, InputFormat inputFormat, ExecutionContextCustomizer executionCustomizer)Validate the given input string using the input format, starting at the root of the data path.List<Error>Schema. validate(AbsoluteIri input, InputFormat inputFormat, Consumer<ExecutionContext> executionCustomizer)Validate the given input string using the input format, starting at the root of the data path.List<Error>Schema. validate(ExecutionContext executionContext, String input, InputFormat inputFormat)Validate the given input string using the input format, starting at the root of the data path.List<Error>Schema. validate(ExecutionContext executionContext, String input, InputFormat inputFormat, ExecutionContextCustomizer executionCustomizer)Validate the given input string using the input format, starting at the root of the data path.List<Error>Schema. validate(ExecutionContext executionContext, String input, InputFormat inputFormat, Consumer<ExecutionContext> executionCustomizer)Validate the given input string using the input format, starting at the root of the data path.List<Error>Schema. validate(String input, InputFormat inputFormat)Validate the given input string using the input format, starting at the root of the data path.List<Error>Schema. validate(String input, InputFormat inputFormat, ExecutionContextCustomizer executionCustomizer)Validate the given input string using the input format, starting at the root of the data path.List<Error>Schema. validate(String input, InputFormat inputFormat, Consumer<ExecutionContext> executionCustomizer)Validate the given input string using the input format, starting at the root of the data path.Methods in com.networknt.schema with parameters of type Error Modifier and Type Method Description voidExecutionContext. addError(Error error)Method parameters in com.networknt.schema with type arguments of type Error Modifier and Type Method Description voidExecutionContext. setErrors(List<Error> errors)Constructors in com.networknt.schema with parameters of type Error Constructor Description FailFastAssertionException(Error error)Constructor.InvalidSchemaException(Error message)InvalidSchemaException(Error message, Exception cause)InvalidSchemaRefException(Error message)InvalidSchemaRefException(Error message, Exception cause)SchemaException(Error error)Constructor parameters in com.networknt.schema with type arguments of type Error Constructor Description Hierarchical(Function<Error,Object> errorMapper)Constructor.List(Function<Error,Object> errorMapper)Constructor. -
Uses of Error in com.networknt.schema.output
Methods in com.networknt.schema.output with parameters of type Error Modifier and Type Method Description static StringOutputUnitData. formatError(Error error)Method parameters in com.networknt.schema.output with type arguments of type Error Modifier and Type Method Description static OutputUnitHierarchicalOutputUnitFormatter. format(Schema jsonSchema, List<Error> errors, ExecutionContext executionContext, SchemaContext schemaContext, Function<Error,Object> errorMapper)static OutputUnitHierarchicalOutputUnitFormatter. format(Schema jsonSchema, List<Error> errors, ExecutionContext executionContext, SchemaContext schemaContext, Function<Error,Object> errorMapper)static OutputUnitListOutputUnitFormatter. format(List<Error> errors, ExecutionContext executionContext, SchemaContext schemaContext, Function<Error,Object> errorMapper)static OutputUnitListOutputUnitFormatter. format(List<Error> errors, ExecutionContext executionContext, SchemaContext schemaContext, Function<Error,Object> errorMapper)static OutputUnitDataOutputUnitData. from(List<Error> validationErrors, ExecutionContext executionContext, Function<Error,Object> errorMapper)static OutputUnitDataOutputUnitData. from(List<Error> validationErrors, ExecutionContext executionContext, Function<Error,Object> errorMapper) -
Uses of Error in com.networknt.schema.walk
Method parameters in com.networknt.schema.walk with type arguments of type Error Modifier and Type Method Description voidWalkListener. onWalkEnd(WalkEvent walkEvent, List<Error> errors)voidItemWalkHandler. postWalk(ExecutionContext executionContext, String keyword, com.fasterxml.jackson.databind.JsonNode instanceNode, com.fasterxml.jackson.databind.JsonNode rootNode, NodePath instanceLocation, Schema schema, KeywordValidator validator, List<Error> errors)voidKeywordWalkHandler. postWalk(ExecutionContext executionContext, String keyword, com.fasterxml.jackson.databind.JsonNode instanceNode, com.fasterxml.jackson.databind.JsonNode rootNode, NodePath instanceLocation, Schema schema, KeywordValidator validator, List<Error> errors)voidPropertyWalkHandler. postWalk(ExecutionContext executionContext, String keyword, com.fasterxml.jackson.databind.JsonNode instanceNode, com.fasterxml.jackson.databind.JsonNode rootNode, NodePath instanceLocation, Schema schema, KeywordValidator validator, List<Error> errors)voidWalkConfig.NoOpWalkHandler. postWalk(ExecutionContext executionContext, String keyword, com.fasterxml.jackson.databind.JsonNode instanceNode, com.fasterxml.jackson.databind.JsonNode rootNode, NodePath instanceLocation, Schema schema, KeywordValidator validator, List<Error> errors)voidWalkHandler. postWalk(ExecutionContext executionContext, String keyword, com.fasterxml.jackson.databind.JsonNode instanceNode, com.fasterxml.jackson.databind.JsonNode rootNode, NodePath instanceLocation, Schema schema, KeywordValidator validator, List<Error> errors)
-