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
public class CSSException extends RuntimeException
- Author:
- Ronald Brill
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classCSSException.ErrorCodeDeprecated.as of version 4.4.0
-
Constructor Summary
Constructors Constructor Description CSSException()Deprecated.as of version 4.4.0; useCSSException(String, Exception)insteadCSSException(Exception e)Deprecated.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.CSSException(CSSException.ErrorCode code)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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()Returns 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 Detail
-
CSSException
@Deprecated public CSSException()
Deprecated.as of version 4.4.0; useCSSException(String, Exception)insteadCreates a new CSSException.
-
CSSException
@Deprecated public CSSException(String message)
Deprecated.as of version 4.4.0; useCSSException(String, Exception)insteadCreates a new CSSException.- Parameters:
message- the message
-
CSSException
@Deprecated public CSSException(Exception e)
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 public CSSException(CSSException.ErrorCode code)
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 public CSSException(CSSException.ErrorCode code, String message, Exception e)
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
-
-
Method Detail
-
getMessage
public String 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.
-
-