Class InvalidSubstatementException
- 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.meta.InvalidSubstatementException
-
- All Implemented Interfaces:
Serializable
public class InvalidSubstatementException extends SourceException
Thrown when there was invalid element in YANG file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidSubstatementException(@NonNull String message, @NonNull StatementSourceReference source)
InvalidSubstatementException(@NonNull String message, @NonNull StatementSourceReference source, Throwable cause)
InvalidSubstatementException(@NonNull StatementSourceReference source, @NonNull String format, Object... args)
-
Method Summary
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.source.SourceException
getSourceReference, throwIf, throwIfNull, unwrap
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidSubstatementException
public InvalidSubstatementException(@NonNull String message, @NonNull StatementSourceReference source)
-
InvalidSubstatementException
public InvalidSubstatementException(@NonNull String message, @NonNull StatementSourceReference source, Throwable cause)
-
InvalidSubstatementException
public InvalidSubstatementException(@NonNull StatementSourceReference source, @NonNull String format, Object... args)
-
-