Package org.htmlunit.cssparser.parser
Class CSSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.htmlunit.cssparser.parser.CSSException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CSSParseException
- Author:
- Ronald Brill
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static enumDeprecated.as of version 4.4.0 -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.as of version 4.4.0; useCSSException(String, Exception)insteadDeprecated.as of version 4.4.0; useCSSException(String, Exception)insteadCSSException(String message) Deprecated.as of version 4.4.0; useCSSException(String, Exception)insteadCSSException(String message, Exception e) Creates a new CSSException with an embeded exception and a specified message.Deprecated.as of version 4.4.0; useCSSException(String, Exception)insteadCSSException(CSSException.ErrorCode code, String message, Exception e) Deprecated.as of version 4.4.0; useCSSException(String, Exception)instead -
Method Summary
Modifier and TypeMethodDescriptionReturns the detail message of this throwable object.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CSSException
Deprecated.as of version 4.4.0; useCSSException(String, Exception)insteadCreates a new CSSException. -
CSSException
Deprecated.as of version 4.4.0; useCSSException(String, Exception)insteadCreates a new CSSException.- Parameters:
message- the message
-
CSSException
Deprecated.as of version 4.4.0; useCSSException(String, Exception)insteadCreates a new CSSException with an embeded exception.- Parameters:
e- the embeded exception.
-
CSSException
Deprecated.as of version 4.4.0; useCSSException(String, Exception)insteadCreates a new CSSException with a specific code.- Parameters:
code- a the embeded exception.
-
CSSException
Deprecated.as of version 4.4.0; useCSSException(String, Exception)insteadCreates a new CSSException with an embeded exception and a specified message.- Parameters:
code- the specified codemessage- the messagee- the embeded exception
-
CSSException
Creates a new CSSException with an embeded exception and a specified message.- Parameters:
message- the messagee- the cause
-
-
Method Details
-
getMessage
Returns the detail message of this throwable object.- Overrides:
getMessagein classThrowable- Returns:
- the detail message of this Throwable, or null if this Throwable does not have a detail message.
-