blob: 4c610fd2da285f17cba111ddc26a699d73565fce [file] [log] [blame]
Yuta HIGUCHI6e6c26e2017-09-06 14:25:57 -07001/*
2 * Copyright 2017-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.netconf;
17
18/**
19 * Exception triggered from NETCONF secure transport layer or below.
20 */
21public class NetconfTransportException extends RuntimeException {
22
23 private static final long serialVersionUID = 5788096975954688094L;
24
25 public NetconfTransportException() {
26 }
27
28 /**
29 * @param message describing the error
30 */
31 public NetconfTransportException(String message) {
32 super(message);
33 }
34
35 /**
36 * @param cause of this exception
37 */
38 public NetconfTransportException(Throwable cause) {
39 super(cause);
40 }
41
42 /**
43 * @param message describing the error
44 * @param cause of this exception
45 */
46 public NetconfTransportException(String message, Throwable cause) {
47 super(message, cause);
48 }
49
50}