2 * Copyright (c) 2017 Bell Canada. 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
9 package org.opendaylight.netconf.api;
12 * FailedNetconfMessage represents a wrapper around NetconfMessage.
14 public class FailedNetconfMessage extends NetconfMessage {
16 private Throwable exception;
18 public FailedNetconfMessage(final Throwable exception) {
19 this.exception = exception;
22 public Throwable getException() {
23 return this.exception;