@Beta public class SchemaResolutionException extends SchemaSourceException
Constructor and Description |
---|
SchemaResolutionException(String message) |
SchemaResolutionException(String message,
Collection<SourceIdentifier> resolvedSources,
com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> unsatisfiedImports) |
SchemaResolutionException(String message,
SourceIdentifier failedSource,
Throwable cause) |
SchemaResolutionException(String message,
SourceIdentifier failedSource,
Throwable cause,
Collection<SourceIdentifier> resolvedSources,
com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> unsatisfiedImports) |
SchemaResolutionException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.base.MoreObjects.ToStringHelper |
addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper) |
SourceIdentifier |
getFailedSource()
Return YANG schema source identifier consisting of name and revision of the module which caused this exception.
|
Collection<SourceIdentifier> |
getResolvedSources() |
com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> |
getUnsatisfiedImports()
Return the list of sources which failed to resolve along with reasons
why they were not resolved.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public SchemaResolutionException(@Nonnull String message, Throwable cause)
public SchemaResolutionException(@Nonnull String message, SourceIdentifier failedSource, Throwable cause)
public SchemaResolutionException(@Nonnull String message, Collection<SourceIdentifier> resolvedSources, @Nonnull com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> unsatisfiedImports)
public SchemaResolutionException(@Nonnull String message, SourceIdentifier failedSource, Throwable cause, @Nonnull Collection<SourceIdentifier> resolvedSources, @Nonnull com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> unsatisfiedImports)
public final SourceIdentifier getFailedSource()
public final com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> getUnsatisfiedImports()
public final Collection<SourceIdentifier> getResolvedSources()
protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
Copyright © 2017 OpenDaylight. All rights reserved.