code: private void doVerifyDatasource() throws PageException {
  	ClassDefinition cd = new ClassDefinitionImpl(Caster.toString(attributes.get("classname", null), null), Caster.toString(attributes.get("bundleName", null), null),
  		Caster.toString(attributes.get("bundleVersion", null), null), config.getIdentification());
  
  	String connStr = (String) attributes.get("connStr", null);
  	if (StringUtil.isEmpty(connStr)) connStr = (String) attributes.get("dsn", null);
  	if (cd.hasClass() && connStr != null) {
  	    _doVerifyDatasource(cd, connStr, getString("admin", action, "dbusername"), getString("admin", action, "dbpassword"));
  	}
  	else {
  	    _doVerifyDatasource(getString("admin", action, "name"), getString("admin", action, "dbusername"), getString("admin", action, "dbpassword"));
  	}
      }
docs: @throws PageException