
au.gov.amsa.util.rx.CompositeException Maven / Gradle / Ivy
The newest version!
package au.gov.amsa.util.rx;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class CompositeException extends Exception {
private static final long serialVersionUID = -1150240783814840391L;
private final List exceptions;
public CompositeException(Throwable... exceptions) {
this.exceptions = Arrays.asList(exceptions);
}
public List getExceptions() {
return new ArrayList(exceptions);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy