Home » xml-commons-external-1.4.01-src » org.w3c.css.sac » [javadoc | source]
org.w3c.css.sac
public class: CSSException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            org.w3c.css.sac.CSSException

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    CSSParseException

Field Summary
protected  String s     
public static final  short SAC_UNSPECIFIED_ERR    this error is unspecified. 
public static final  short SAC_NOT_SUPPORTED_ERR    If the operation is not supported 
public static final  short SAC_SYNTAX_ERR    If an invalid or illegal string is specified 
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    The internal exception. 
protected  short code     
Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public CSSException() 
 public CSSException(String s) 
    Creates a new CSSException
 public CSSException(Exception e) 
    Creates a new CSSException with an embeded exception.
    Parameters:
    a - the embeded exception.
 public CSSException(short code) 
 public CSSException(short code,
    String s,
    Exception e) 
    Creates a new CSSException with an embeded exception and a specified message.
    Parameters:
    code - the specified code.
    e - the embeded exception.
Method from org.w3c.css.sac.CSSException Summary:
getCode,   getException,   getMessage
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.w3c.css.sac.CSSException Detail:
 public short getCode() 
    returns the error code for this exception.
 public Exception getException() 
    Returns the internal exception if any, null otherwise.
 public String getMessage() 
    Returns the detail message of this throwable object.