code: private void doSet() throws PageException {
  	if (entry == null) throw new ApplicationException("attribute entry is required for tag registry, when action is [set]");
  	if (type == RegistryEntry.TYPE_ANY) type = RegistryEntry.TYPE_STRING;
  	if (value == null) {
  	    if (type == RegistryEntry.TYPE_DWORD) value = "0";
  	    else value = "";
  	}
  
  	try {
  	    RegistryQuery.setValue(branch, entry, type, value);
  	}
  	catch (Exception e) {
  	    throw Caster.toPageException(e);
  	}
  
      }
docs: @throws PageException