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

com.yammer.dropwizard.validation.InvalidEntityException Maven / Gradle / Ivy

There is a newer version: 0.6.2
Show newest version
package com.yammer.dropwizard.validation;

import com.google.common.collect.ImmutableList;

public class InvalidEntityException extends RuntimeException {
    private final ImmutableList errors;

    public InvalidEntityException(String message, Iterable errors) {
        super(message);
        this.errors = ImmutableList.copyOf(errors);
    }

    public ImmutableList getErrors() {
        return errors;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy