Add transport-{api,tcp}
[netconf.git] / transport / transport-api / src / main / java / org / opendaylight / netconf / transport / api / UnsupportedConfigurationException.java
1 /*
2  * Copyright (c) 2022 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.netconf.transport.api;
9
10 import java.io.Serial;
11
12 /**
13  * Exception thrown when an unsupported configuration is supplied to a transport implementation.
14  */
15 public final class UnsupportedConfigurationException extends Exception {
16     @Serial
17     private static final long serialVersionUID = 1L;
18
19     public UnsupportedConfigurationException(final String message) {
20         super(message);
21     }
22
23     public UnsupportedConfigurationException(final String message, final Throwable cause) {
24         super(message, cause);
25     }
26 }