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%2FSchemaResolutionException.java;h=b864611bb3bc0a9265a71cc522dc2199df56c163;hb=6b5d20f6513bc3e6e5db4a2058ee81308edaa9c8;hp=0070cab71fe3d7bcf734060e9bfc4d6e63351d50;hpb=897182d71fe892ce5639bf10df1dd6ed3b30ff44;p=yangtools.git diff --git a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SchemaResolutionException.java b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SchemaResolutionException.java index 0070cab71f..b864611bb3 100644 --- a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SchemaResolutionException.java +++ b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SchemaResolutionException.java @@ -3,7 +3,7 @@ * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/eplv10.html + * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.yangtools.yang.model.repo.api; @@ -23,6 +23,9 @@ import org.opendaylight.yangtools.yang.model.api.ModuleImport; */ @Beta public class SchemaResolutionException extends SchemaSourceException { + + private static final String MESSAGE_BLUEPRINT = "%s, resolved sources: %s, unsatisfied imports: %s"; + private static final long serialVersionUID = 1L; private final Multimap unsatisfiedImports; private final Collection resolvedSources; @@ -32,7 +35,7 @@ public class SchemaResolutionException extends SchemaSourceException { } public SchemaResolutionException(@Nonnull final String message, final Throwable cause) { - this(message, cause, Collections.emptySet(), ImmutableMultimap.of()); + this(message, cause, Collections.emptySet(), ImmutableMultimap.of()); } public SchemaResolutionException(@Nonnull final String message, final Collection resolvedSources, @@ -48,7 +51,6 @@ public class SchemaResolutionException extends SchemaSourceException { this.resolvedSources = ImmutableList.copyOf(resolvedSources); } - private static final String MESSAGE_BLUEPRINT = "%s, resolved sources: %s, unsatisfied imports: %s"; private static String formatMessage(final String message, final Collection resolvedSources, final Multimap unsatisfiedImports) { return String.format(MESSAGE_BLUEPRINT, message, resolvedSources, unsatisfiedImports); }