code: public void setStrictErrorChecking(boolean arg0) {
  	// dynamic load to support jre 1.4 and 1.5
  	try {
  	    Method m = doc.getClass().getMethod("setStrictErrorChecking", new Class[] { boolean.class });
  	    m.invoke(doc, new Object[] { Caster.toBoolean(arg0) });
  	}
  	catch (Exception e) {
  	    throw new PageRuntimeException(Caster.toPageException(e));
  	}
  
      }
docs: used only with java 7, do not set @Override