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

ch.dkitc.ridioc.DIAggregateException Maven / Gradle / Ivy

package ch.dkitc.ridioc;

import java.util.ArrayList;
import java.util.List;

public class DIAggregateException extends IllegalArgumentException {

    private List exceptionBasket = new ArrayList();

    public DIAggregateException(String message, List exceptions) {
        super(message);
        exceptionBasket.addAll(exceptions);
    }

    public List getExceptionBasket() {
        return exceptionBasket;
    }

    public boolean hasExceptionsInBasket() {
        return !exceptionBasket.isEmpty();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy