2 * Copyright (c) 2018 Pantheon Technologies, s.r.o. 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.mdsal.dom.api;
10 import com.google.common.annotations.Beta;
11 import org.eclipse.jdt.annotation.NonNullByDefault;
14 * Base class for failures that can occur during operation invocation. This covers transport and protocol-level
15 * failures, not implementation-reported errors, which are part of {@link DOMOperationResult}.
17 * @author Robert Varga
21 public abstract class DOMOperationException extends Exception {
22 private static final long serialVersionUID = 1L;
25 * Construct an new instance with a message and an empty cause.
27 * @param message Exception message
29 protected DOMOperationException(final String message) {
34 * Construct an new instance with a message and a cause.
36 * @param message Exception message
37 * @param cause Chained cause
39 protected DOMOperationException(final String message, final Throwable cause) {
40 super(message, cause);