public class CSSException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
protected short |
code |
protected Exception |
e
The internal exception.
|
protected String |
s |
protected static String |
S_SAC_NOT_SUPPORTED_ERR |
protected static String |
S_SAC_SYNTAX_ERR |
protected static String |
S_SAC_UNSPECIFIED_ERR |
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.
|
| Constructor and Description |
|---|
CSSException()
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.
|
CSSException(String s)
Creates a new CSSException
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected String s
public static final short SAC_UNSPECIFIED_ERR
public static final short SAC_NOT_SUPPORTED_ERR
public static final short SAC_SYNTAX_ERR
protected static final String S_SAC_UNSPECIFIED_ERR
protected static final String S_SAC_NOT_SUPPORTED_ERR
protected static final String S_SAC_SYNTAX_ERR
protected Exception e
protected short code
public CSSException()
public CSSException(String s)
public CSSException(Exception e)
a - the embeded exception.public CSSException(short code)
a - the embeded exception.public String getMessage()
getMessage in class Throwablepublic short getCode()
public Exception getException()
Copyright © 2026. All rights reserved.