java.lang.Object
javafx.css.CssParser.ParseError
- Direct Known Subclasses:
CssParser.ParseError.InlineStyleParsingError,CssParser.ParseError.PropertySetError,CssParser.ParseError.StringParsingError,CssParser.ParseError.StylesheetParsingError
- Enclosing class:
- CssParser
public static class CssParser.ParseError extends Object
A class that encapsulates information about the source and nature
of errors encountered while parsing CSS or applying styles to Nodes.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCssParser.ParseError.InlineStyleParsingErrorEncapsulate errors arising from parsing of Node's style propertystatic classCssParser.ParseError.PropertySetErrorEncapsulates errors arising from applying a style to a Node.static classCssParser.ParseError.StringParsingErrorEncapsulate errors arising from parsing when the style is not an in-line style nor is the style from a stylesheet.static classCssParser.ParseError.StylesheetParsingErrorEncapsulate errors arising from parsing of stylesheet files -
Constructor Summary
Constructors Constructor Description ParseError(String message)Constructs aParseErrorobject with the message. -
Method Summary
Modifier and Type Method Description StringgetMessage()Returns the error message.
-
Constructor Details
-
ParseError
Constructs aParseErrorobject with the message.- Parameters:
message- the message
-
-
Method Details
-
getMessage
Returns the error message.- Returns:
- the error message
-