/*
* 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.dom.broker.impl;
import com.google.common.base.Preconditions;
/**
* Composite DOM Transaction backed by {@link DOMStoreTransaction}.
*
+ * <p>
* Abstract base for composite transaction, which provides access only to common
* functionality as retrieval of subtransaction, close method and retrieval of
* identifier.
private final Object identifier;
/**
- *
* Creates new composite Transactions.
*
* @param identifier
/**
* Returns subtransaction associated with supplied key.
*
- * @param key
- * @return
+ * @param key key
+ * @return subtransaction
* @throws NullPointerException
* if key is null
* @throws IllegalArgumentException
return identifier;
}
+ @SuppressWarnings("checkstyle:IllegalCatch")
protected void closeSubtransactions() {
/*
* We share one exception for all failures, which are added