CommitInfo forward compatibility
[mdsal.git] / common / mdsal-common-api / src / main / java / org / opendaylight / mdsal / common / api / DataStoreUnavailableException.java
1 /*
2  * Copyright (c) 2015 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.mdsal.common.api;
9
10 import java.io.Serial;
11
12 /**
13  * This exception occurs if the datastore is temporarily unavailable. A retry of the transaction may succeed after
14  * a period of time.
15  */
16 public class DataStoreUnavailableException extends Exception {
17     @Serial
18     private static final long serialVersionUID = 1L;
19
20     public DataStoreUnavailableException(final String message, final Throwable cause) {
21         super(message, cause);
22     }
23 }