Class YangSyntaxErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.yangtools.yang.parser.api.YangParserException
org.opendaylight.yangtools.yang.parser.api.YangSyntaxErrorException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionYangSyntaxErrorException
(@Nullable SourceIdentifier source, int line, int charPositionInLine, String message) YangSyntaxErrorException
(@Nullable SourceIdentifier source, int line, int charPositionInLine, String message, @Nullable Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionfinal int
@NonNull String
final int
getLine()
final Optional<SourceIdentifier>
toString()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
YangSyntaxErrorException
public YangSyntaxErrorException(@Nullable SourceIdentifier source, int line, int charPositionInLine, String message) -
YangSyntaxErrorException
public YangSyntaxErrorException(@Nullable SourceIdentifier source, int line, int charPositionInLine, String message, @Nullable Throwable cause)
-
-
Method Details