![JAR search and dependency download from the Maven repository](/logo.png)
dev.harrel.jsonschema.InvalidSchemaException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json-schema Show documentation
Show all versions of json-schema Show documentation
Library for JSON schema validation
package dev.harrel.jsonschema;
import java.util.List;
/**
* Exception type used to indicate that schema has failed validation against meta-schema.
*/
public class InvalidSchemaException extends JsonSchemaException {
private final transient List errors;
InvalidSchemaException(String message, List errors) {
super(message);
this.errors = errors;
}
/**
* Errors getter.
* @return list of validation errors
*/
public List getErrors() {
return errors;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy