Package javafx.css

Class CssParser.ParseError

java.lang.Object
javafx.css.CssParser.ParseError
Direct Known Subclasses:
CssParser.ParseError.InlineStyleParsingError, CssParser.ParseError.PropertySetError, CssParser.ParseError.StringParsingError, CssParser.ParseError.StylesheetParsingError, CssParser.ParseError.UnexpectedTokenError
Enclosing class:
CssParser

public static class CssParser.ParseError
extends Object
Encapsulate information about the source and nature of errors encountered while parsing CSS or applying styles to Nodes.
  • Constructor Details

    • ParseError

      public ParseError​(String message)
    • ParseError

      public ParseError​(String message, int line, int offset)
  • Method Details

    • getMessage

      public final String getMessage()
      Returns:
      The error message from the CSS code.
    • getLine

      public int getLine()
    • getOffset

      public int getOffset()
    • toString

      public String toString()
      Overrides:
      toString in class Object