Class YangVersionLinkageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opendaylight.yangtools.yang.model.api.meta.StatementSourceException
org.opendaylight.yangtools.yang.parser.spi.source.SourceException
org.opendaylight.yangtools.yang.parser.spi.source.YangVersionLinkageException
- All Implemented Interfaces:
Serializable
An exception indicating source-level problem across multiple YANG sources relating to how they are allowed to be
linked between YANG versions. This typically indicates a direct violation of
RFC7950 section 12.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionYangVersionLinkageException
(@NonNull StatementSourceReference source, @NonNull String format, Object... args) YangVersionLinkageException
(@NonNull CommonStmtCtx stmt, @NonNull String format, Object... args) -
Method Summary
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.source.SourceException
throwIf, throwIf, throwIfNull, throwIfNull, unwrap, unwrap
Methods inherited from class org.opendaylight.yangtools.yang.model.api.meta.StatementSourceException
sourceRef, throwNSE
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
YangVersionLinkageException
public YangVersionLinkageException(@NonNull StatementSourceReference source, @NonNull String format, Object... args) -
YangVersionLinkageException
public YangVersionLinkageException(@NonNull CommonStmtCtx stmt, @NonNull String format, Object... args)
-