code: public void error(String msg, Object[] args)
    {
  
      System.out.println("DOM ERROR! class: " + this.getClass().getName());
  
      throw new RuntimeException(XMLMessages.createXMLMessage(msg, args));  //"UnImplNode error: "+msg);
    }
docs: Throw an error.
  
  @param msg Message Key for the error
  @param args Array of arguments to be used in the error message