Remove yangtools APIs
[mdsal.git] / binding / mdsal-binding-dom-codec / src / main / java / org / opendaylight / yangtools / binding / data / codec / impl / MissingSchemaException.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. 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.yangtools.binding.data.codec.impl;
9
10 /**
11  * Thrown when codec was used with data which are not modeled
12  * and available in schema used by codec.
13  *
14  * @deprecated Use {@link org.opendaylight.mdsal.binding.dom.codec.impl.MissingSchemaException} instead.
15  */
16 @Deprecated
17 public class MissingSchemaException extends IllegalArgumentException {
18
19     private static final long serialVersionUID = 1L;
20
21     protected MissingSchemaException(final String msg) {
22         super(msg);
23     }
24
25     protected MissingSchemaException(final String msg, final Throwable cause) {
26         super(msg, cause);
27     }
28 }