|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.w3c.css.sac.CSSException
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. |
Constructor Summary | |
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 |
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. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected String s
public static short SAC_UNSPECIFIED_ERR
public static short SAC_NOT_SUPPORTED_ERR
public static short SAC_SYNTAX_ERR
protected Exception e
protected short code
Constructor Detail |
public CSSException()
public CSSException(String s)
public CSSException(Exception e)
e
- the embeded exception.public CSSException(short code)
code
- the embeded exception.public CSSException(short code, String s, Exception e)
code
- the specified code.e
- the embeded exception.Method Detail |
public String getMessage()
public short getCode()
public Exception getException()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |