Class YangSyntaxErrorException

All Implemented Interfaces:
Serializable

@Beta public class YangSyntaxErrorException extends YangParserException
See Also:
  • 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

    • getSource

      public final Optional<SourceIdentifier> getSource()
    • getLine

      public final int getLine()
    • getCharPositionInLine

      public final int getCharPositionInLine()
    • getFormattedMessage

      public @NonNull String getFormattedMessage()
    • toString

      public String toString()
      Overrides:
      toString in class Throwable