Package io.sf.carte.doc.style.css.nsac
Class CSSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.sf.carte.doc.style.css.nsac.CSSException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CSSBudgetException
,CSSParseException
CSS runtime exception, normally related to parsing.
As it is expected to be used in the context of an event parser, it is a
RuntimeException
subclass.
Based on SAC's CSSException
class by Philippe Le Hegaret.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct a CSS exception.CSSException
(String message) Construct a CSS exception that has a descriptive message.CSSException
(String message, Throwable cause) Construct a CSS exception that has a cause and a descriptive message.CSSException
(Throwable cause) Construct a CSS exception that has a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CSSException
public CSSException()Construct a CSS exception. -
CSSException
Construct a CSS exception that has a descriptive message.- Parameters:
message
- the descriptive message.
-
CSSException
Construct a CSS exception that has a cause.- Parameters:
cause
- the cause. Ifnull
, the cause is unknown.
-
CSSException
Construct a CSS exception that has a cause and a descriptive message.- Parameters:
message
- the descriptive message.cause
- the cause. Ifnull
, the cause is unknown.
-