Promote codec exceptions to binding.codec.api
[mdsal.git] / binding / mdsal-binding-dom-codec-api / src / main / java / org / opendaylight / mdsal / binding / dom / codec / api / MissingClassInLoadingStrategyException.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.mdsal.binding.dom.codec.api;
9
10 import com.google.common.annotations.Beta;
11
12 /**
13  * Thrown when user schema for supplied binding class is available in present schema context, but
14  * binding class itself is not known to codecs because backing class loading strategy did not
15  * provided it.
16  */
17 @Beta
18 public class MissingClassInLoadingStrategyException extends MissingSchemaException {
19     private static final long serialVersionUID = 1L;
20
21     public MissingClassInLoadingStrategyException(final String msg, final Throwable cause) {
22         super(msg, cause);
23     }
24 }