Fix typos and missing space
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / data / TransactionCommitFailedException.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.md.sal.common.api.data;
9
10 import org.opendaylight.yangtools.yang.common.OperationFailedException;
11 import org.opendaylight.yangtools.yang.common.RpcError;
12
13 /**
14  *
15  * Failed commit of asynchronous transaction
16  *
17  * This exception is raised and returned when transaction commit
18  * failed.
19  *
20  */
21 public class TransactionCommitFailedException extends OperationFailedException {
22
23     private static final long serialVersionUID = 1L;
24
25     public TransactionCommitFailedException(final String message, final RpcError... errors) {
26         this(message, null, errors);
27     }
28
29     public TransactionCommitFailedException(final String message, final Throwable cause,
30                                             final RpcError... errors) {
31         super(message, cause, errors);
32     }
33 }