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
@Beta public class YangSyntaxErrorException extends YangParserException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description YangSyntaxErrorException(@Nullable org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier source, int line, int charPositionInLine, String message)YangSyntaxErrorException(@Nullable org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier source, int line, int charPositionInLine, String message, @Nullable Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCharPositionInLine()@NonNull StringgetFormattedMessage()intgetLine()Optional<org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier>getSource()StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
YangSyntaxErrorException
public YangSyntaxErrorException(@Nullable org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier source, int line, int charPositionInLine, String message)
-
-