Class InvalidSubstatementException
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.meta.InvalidSubstatementException
- All Implemented Interfaces:
Serializable
Thrown when there was invalid element in YANG file.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidSubstatementException
(@NonNull String message, @NonNull StatementSourceReference source) InvalidSubstatementException
(@NonNull String message, @NonNull StatementSourceReference source, Throwable cause) InvalidSubstatementException
(@NonNull StatementSourceReference source, @NonNull String format, Object... args) InvalidSubstatementException
(@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
-
InvalidSubstatementException
public InvalidSubstatementException(@NonNull String message, @NonNull StatementSourceReference source) -
InvalidSubstatementException
public InvalidSubstatementException(@NonNull String message, @NonNull StatementSourceReference source, Throwable cause) -
InvalidSubstatementException
public InvalidSubstatementException(@NonNull CommonStmtCtx stmt, @NonNull String format, Object... args) -
InvalidSubstatementException
public InvalidSubstatementException(@NonNull StatementSourceReference source, @NonNull String format, Object... args)
-