All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.harrel.jsonschema.InvalidSchemaException Maven / Gradle / Ivy

There is a newer version: 1.7.3
Show newest version
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