private IRObject p(String v) { return RString.newRString(v==null?"":v); }
private RName n(String x) { return RName.getRName(x);}
public void execute(DTState state) throws RulesException {
RName error = state.datapop().rNameValue();
RName error_table = state.datapop().rNameValue();
RName table = state.datapop().rNameValue();
try{
state.find(table).execute(state);
}catch(NullPointerException e){
throw new RulesException("undefined", "PerformCatchError",
"The table '"+table.stringValue()+"' is undefined");
}catch(RulesException e){
IRSession session = state.getSession();
EntityFactory ef = session.getEntityFactory();
IREntity errorEntity = ef.findRefEntity(error).clone(session).rEntityValue();
state.entitypush(errorEntity);