X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fmodel%2Frepo%2Fapi%2FSchemaSourceException.java;fp=yang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fmodel%2Frepo%2Fspi%2FSchemaSourceTransformationException.java;h=d31da32ac491719f3959f2a14897bd8d79a807cb;hb=d9fdeeabb54138867c33e674215e1a04a4c21292;hp=b5c08dee054e087644c4c72e082e2b5925203c06;hpb=25ca085ff1b680c65da57497742a9f63826e8df5;p=yangtools.git diff --git a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/spi/SchemaSourceTransformationException.java b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SchemaSourceException.java similarity index 53% rename from yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/spi/SchemaSourceTransformationException.java rename to yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SchemaSourceException.java index b5c08dee05..d31da32ac4 100644 --- a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/spi/SchemaSourceTransformationException.java +++ b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SchemaSourceException.java @@ -5,20 +5,22 @@ * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/eplv10.html */ -package org.opendaylight.yangtools.yang.model.repo.spi; +package org.opendaylight.yangtools.yang.model.repo.api; + +import com.google.common.annotations.Beta; /** - * Exception thrown when a failure to translate a schema source between - * representations. + * Exception thrown when a failure to acquire a schema source occurs. */ -public class SchemaSourceTransformationException extends Exception { +@Beta +public class SchemaSourceException extends Exception { private static final long serialVersionUID = 1L; - public SchemaSourceTransformationException(final String message) { + public SchemaSourceException(final String message) { super(message); } - public SchemaSourceTransformationException(final String message, final Throwable cause) { + public SchemaSourceException(final String message, final Throwable cause) { super(message, cause); } }