public object executeChipLogic(int[] input) { object result = null; try { result = chip.chipFunction(input); } catch (Exception e) { result = e; } return(result); }