001/*
002 * Copyright (c) 2006-2013 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *
009 * Contributors:
010 *     vpasquier
011 *     slacoin
012 */
013package org.nuxeo.ecm.automation;
014
015/**
016 * @since 5.7.2 Operation composite exception containing multiple @{link OperationException}
017 */
018public class OperationCompoundException extends OperationException {
019
020    private static final long serialVersionUID = 1L;
021
022    public final OperationException[] operationExceptions;
023
024    public OperationCompoundException(String message, OperationException[] operationExceptions) {
025        super(message);
026        this.operationExceptions = operationExceptions;
027    }
028}