protected DOMError modifyDOMError(String message,short severity,String type,Node node){
  fDOMError.reset();
  fDOMError.fMessage=message;
  fDOMError.fType=type;
  fDOMError.fSeverity=severity;
  fDOMError.fLocator=new DOMLocatorImpl(-1,-1,-1,node,null);
  return fDOMError;
}

protected DOMError modifyDOMError ( String message , short severity , String type , Node node ) { fDOMError . reset ( ) ; fDOMError . fMessage = message ; fDOMError . fType = type ; fDOMError . fSeverity = severity ; fDOMError . fLocator = new DOMLocatorImpl ( - 1 , - 1 , - 1 , node , null ) ; return fDOMError ; }
the method modifies global dom error object
