|  | 
| 
 Public Types | 
|  | 
| enum | ErrorSeverity { DOM_SEVERITY_WARNING =  0, 
DOM_SEVERITY_ERROR =  1, 
DOM_SEVERITY_FATAL_ERROR =  2
 } | 
|  | The severity of the error described by the DOMError.  More...
 | 
| 
 Public Member Functions | 
|  | 
| virtual | ~DOMError () | 
|  | Destructor. 
 | 
|  | 
| virtual short | getSeverity () const =0 | 
|  | Get the severity of the error. 
 | 
| virtual const XMLCh * | getMessage () const =0 | 
|  | Get the message describing the error that occured. 
 | 
| virtual DOMLocator * | getLocation () const =0 | 
|  | Get the location of the error. 
 | 
| virtual void * | getRelatedException () const =0 | 
|  | The related platform dependent exception if any. 
 | 
| virtual const XMLCh * | getType () const =0 | 
|  | A XMLCh*indicating which related data is expected in relatedData.
 | 
| virtual void * | getRelatedData () const =0 | 
|  | The related DOMError.type dependent data if any. 
 | 
| virtual void | setSeverity (const short severity)=0 | 
|  | Set the severity of the error. 
 | 
| virtual void | setMessage (const XMLCh *const message)=0 | 
|  | Set the error message. 
 | 
| virtual void | setLocation (DOMLocator *const location)=0 | 
|  | Set the location of the error. 
 | 
| virtual void | setRelatedException (void *exc) const =0 | 
|  | The related platform dependent exception if any. 
 | 
| virtual void | setType (const XMLCh *type)=0 | 
|  | A XMLCh*indicating which related data is expected in relatedData.
 | 
| virtual void | setRelatedData (void *relatedData)=0 | 
|  | The related DOMError.type dependent data if any. 
 | 
| 
 Protected Member Functions | 
|  | 
|  | DOMError () |