org.w3c.css.sac
public class CSSException extends RuntimeException
Version: $Revision: 477010 $
| Field Summary | |
|---|---|
| protected short | code |
| protected Exception | e
The internal exception. |
| protected String | s |
| static short | SAC_NOT_SUPPORTED_ERR
If the operation is not supported |
| static short | SAC_SYNTAX_ERR
If an invalid or illegal string is specified |
| static short | SAC_UNSPECIFIED_ERR
this error is unspecified. |
| protected static String | S_SAC_NOT_SUPPORTED_ERR |
| protected static String | S_SAC_SYNTAX_ERR |
| protected static String | S_SAC_UNSPECIFIED_ERR |
| Constructor Summary | |
|---|---|
| CSSException()
Creates a new CSSException | |
| CSSException(String s)
Creates a new CSSException | |
| CSSException(Exception e)
Creates a new CSSException with an embeded exception. | |
| CSSException(short code)
Creates a new CSSException with a specific code. | |
| CSSException(short code, String s, Exception e)
Creates a new CSSException with an embeded exception and a specified
message. | |
| Method Summary | |
|---|---|
| short | getCode()
returns the error code for this exception. |
| Exception | getException()
Returns the internal exception if any, null otherwise. |
| String | getMessage()
Returns the detail message of this throwable object.
|
Parameters: a the embeded exception.
Parameters: a the embeded exception.
Parameters: code the specified code. e the embeded exception.
Returns: the detail message of this Throwable, or null if this Throwable does not have a detail message.