com.softicar.platform.common.core.exception.MultiException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.core.exception;
import java.util.Collection;
/**
* A {@link RuntimeException} that aggregates multiple {@link Exception}
* objects.
*
* @author Oliver Richers
*/
public class MultiException extends RuntimeException {
private final Collection exceptions;
public MultiException(String message, Collection exceptions) {
super(message);
this.exceptions = exceptions;
}
public Collection getExceptions() {
return exceptions;
}
}