2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.md.sal.common.api.data;
10 import org.opendaylight.yangtools.yang.common.OperationFailedException;
11 import org.opendaylight.yangtools.yang.common.RpcError;
14 * Failed commit of asynchronous transaction. This exception is raised and returned when transaction commit failed.
16 * @deprecated Use {@link org.opendaylight.mdsal.common.api.TransactionCommitFailedException} instead.
19 public class TransactionCommitFailedException extends OperationFailedException {
21 private static final long serialVersionUID = 1L;
23 public TransactionCommitFailedException(final String message, final RpcError... errors) {
24 this(message, null, errors);
27 public TransactionCommitFailedException(final String message, final Throwable cause,
28 final RpcError... errors) {
29 super(message, cause, errors);