2 * Copyright (c) 2013 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.config.api;
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.
17 public class ConflictingVersionException extends RuntimeException {
18 private static final long serialVersionUID = 1L;
20 public ConflictingVersionException() {
24 public ConflictingVersionException(String message, Throwable cause) {
25 super(message, cause);
28 public ConflictingVersionException(String message) {
32 public ConflictingVersionException(Throwable cause) {