X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fdata%2FTransactionChainClosedException.java;fp=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fdata%2FTransactionChainClosedException.java;h=5e1b35dbe506cf909d1c1bac36f40eba85b99b5c;hp=0000000000000000000000000000000000000000;hb=c4b5fc6270b981196be687d04f42a94cb10ef69f;hpb=c61d22e4dc73fdaba09aa8c0b189ea7459679e03 diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/TransactionChainClosedException.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/TransactionChainClosedException.java new file mode 100644 index 0000000000..5e1b35dbe5 --- /dev/null +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/TransactionChainClosedException.java @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ +package org.opendaylight.controller.md.sal.common.api.data; + +/** + * Exception thrown when an attempt is made to open a new transaction in a closed + * chain. + */ +public final class TransactionChainClosedException extends IllegalStateException { + private static final long serialVersionUID = 1L; + + public TransactionChainClosedException(final String message) { + super(message); + } + + public TransactionChainClosedException(final String message, final Throwable cause) { + super(message, cause); + } +}