Class SchemaResolutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceException
org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException
- All Implemented Interfaces:
Serializable
Exception thrown when a Schema Source fails to resolve.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaResolutionException
(@NonNull String message, SourceIdentifier failedSource, @NonNull Collection<SourceIdentifier> resolvedSources, @NonNull Multimap<SourceIdentifier, SourceDependency> unsatisfiedImports) SchemaResolutionException
(@NonNull String message, SourceIdentifier failedSource, Throwable cause) SchemaResolutionException
(@NonNull String message, SourceIdentifier failedSource, Throwable cause, @NonNull Collection<SourceIdentifier> resolvedSources, @NonNull Multimap<SourceIdentifier, SourceDependency> unsatisfiedImports) -
Method Summary
Modifier and TypeMethodDescriptionprotected MoreObjects.ToStringHelper
addToStringAttributes
(MoreObjects.ToStringHelper toStringHelper) final @NonNull Collection<SourceIdentifier>
final @NonNull Multimap<SourceIdentifier,
SourceDependency> Return the list of sources which failed to resolve along with reasons why they were not resolved.final String
toString()
Methods inherited from class org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceException
sourceId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SchemaResolutionException
public SchemaResolutionException(@NonNull String message, SourceIdentifier failedSource, Throwable cause) -
SchemaResolutionException
public SchemaResolutionException(@NonNull String message, SourceIdentifier failedSource, @NonNull Collection<SourceIdentifier> resolvedSources, @NonNull Multimap<SourceIdentifier, SourceDependency> unsatisfiedImports) -
SchemaResolutionException
public SchemaResolutionException(@NonNull String message, SourceIdentifier failedSource, Throwable cause, @NonNull Collection<SourceIdentifier> resolvedSources, @NonNull Multimap<SourceIdentifier, SourceDependency> unsatisfiedImports)
-
-
Method Details
-
getUnsatisfiedImports
Return the list of sources which failed to resolve along with reasons why they were not resolved.- Returns:
- Source/reason map.
-
getResolvedSources
-
toString
-
addToStringAttributes
protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper toStringHelper)
-