@Beta public class SchemaResolutionException extends SchemaSourceException
Constructor and Description |
---|
SchemaResolutionException(@NonNull String message) |
SchemaResolutionException(@NonNull String message,
@NonNull Collection<SourceIdentifier> resolvedSources,
@NonNull com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> unsatisfiedImports) |
SchemaResolutionException(@NonNull String message,
SourceIdentifier failedSource,
Throwable cause) |
SchemaResolutionException(@NonNull String message,
SourceIdentifier failedSource,
Throwable cause,
@NonNull Collection<SourceIdentifier> resolvedSources,
@NonNull com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> unsatisfiedImports) |
SchemaResolutionException(@NonNull 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.
|
@NonNull Collection<SourceIdentifier> |
getResolvedSources() |
@NonNull 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)
public SchemaResolutionException(@NonNull String message, Throwable cause)
public SchemaResolutionException(@NonNull String message, SourceIdentifier failedSource, Throwable cause)
public SchemaResolutionException(@NonNull String message, @NonNull 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 @NonNull com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> getUnsatisfiedImports()
public final @NonNull Collection<SourceIdentifier> getResolvedSources()
protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
Copyright © 2019 OpenDaylight. All rights reserved.