- 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
Encapsulate 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 class
CssParser.ParseError.InlineStyleParsingError
Encapsulate errors arising from parsing of Node's style propertystatic class
CssParser.ParseError.PropertySetError
Encapsulates errors arising from applying a style to a Node.static class
CssParser.ParseError.StringParsingError
Encapsulate errors arising from parsing when the style is not an in-line style nor is the style from a stylesheet.static class
CssParser.ParseError.StylesheetParsingError
Encapsulate errors arising from parsing of stylesheet files
-
Constructor Summary
Constructors Constructor Description ParseError(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
String
toString()
Returns a string representation of the object.
-
-
-
Constructor Detail
-
ParseError
public ParseError(String message)
-
-
Method Detail
-
getMessage
public final String getMessage()
- Returns:
- The error message from the CSS code.
-
toString
public String toString()
Description copied from class:Object
Returns a string representation of the object. In general, thetoString
method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.The
toString
method for classObject
returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@
', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:getClass().getName() + '@' + Integer.toHexString(hashCode())
-
-