API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.w3c.dom. DOMError View Source
Author(s)
Since
DOM Level 3
Version
Serial
Hierarchy
 DOMError
Subinterfaces
Description
public interface DOMError
  DOMError is an interface that describes an error.
See also:   
Methods
Hide/Show inherited methods
public DOMLocator getLocation ()
The location of the error.
public String getMessage ()
An implementation specific string describing the error that occurred.
public Object getRelatedData ()
The related DOMError.type dependent data if any.
public Object getRelatedException ()
The related platform dependent exception if any.
public short getSeverity ()
The severity of the error, either SEVERITY_WARNING, SEVERITY_ERROR, or SEVERITY_FATAL_ERROR.
public String getType ()
  A DOMString indicating which related data is expected in relatedData.
Fields
Hide/Show inherited fields
publicfinalstatic short SEVERITY_ERROR = "2"
  The severity of the error described by the DOMError is error.
publicfinalstatic short SEVERITY_FATAL_ERROR = "3"
  The severity of the error described by the DOMError is fatal error.
publicfinalstatic short SEVERITY_WARNING = "1"
  The severity of the error described by the DOMError is warning.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar