Class YangVersionLinkageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.opendaylight.yangtools.yang.parser.spi.source.SourceException
-
- org.opendaylight.yangtools.yang.parser.spi.source.YangVersionLinkageException
-
- All Implemented Interfaces:
Serializable
@Beta public class YangVersionLinkageException extends SourceException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description YangVersionLinkageException(@NonNull CommonStmtCtx stmt, @NonNull String format, Object... args)
YangVersionLinkageException(@NonNull StatementSourceReference source, @NonNull String format, Object... args)
-
Method Summary
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.source.SourceException
getSourceReference, throwIf, throwIf, throwIfNull, throwIfNull, unwrap, unwrap
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
YangVersionLinkageException
public YangVersionLinkageException(@NonNull StatementSourceReference source, @NonNull String format, Object... args)
-
YangVersionLinkageException
public YangVersionLinkageException(@NonNull CommonStmtCtx stmt, @NonNull String format, Object... args)
-
-