9e3c5016ce7fa54c98b7ae1bbe3989d1cd960aed
[controller.git] / opendaylight / config / config-api / src / main / java / org / opendaylight / controller / config / api / ConflictingVersionException.java
1 /*
2  * Copyright (c) 2013 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.config.api;
9
10 /**
11  * Can be thrown during
12  * {@link ConfigRegistry#commitConfig(javax.management.ObjectName)} to indicate
13  * that the transaction cannot be committed due to the fact that another
14  * transaction was committed after creating this transaction. Clients can create
15  * new transaction and merge the changes.
16  */
17 public class ConflictingVersionException extends Exception {
18     private static final long serialVersionUID = 1L;
19
20     public ConflictingVersionException() {
21     }
22
23     public ConflictingVersionException(final String message, final Throwable cause) {
24         super(message, cause);
25     }
26
27     public ConflictingVersionException(final String message) {
28         super(message);
29     }
30
31     public ConflictingVersionException(final Throwable cause) {
32         super(cause);
33     }
34
35 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.