private void setDelegate(Resolvable resolvable) { try { Field delegateField = (Field) privilegedGetDelegateField.run(); PrivilegedSetValueInField privilegedSetValueInDelegateField = new PrivilegedSetValueInField(delegateField, this, resolvable); privilegedSetValueInDelegateField.run(); } catch (NoSuchFieldException nsfException){ throw SDOException.errorAccessingExternalizableDelegator("delegate", nsfException); } catch (IllegalAccessException iaException){ throw SDOException.errorAccessingExternalizableDelegator("delegate", iaException); } } }
private void setDelegate(Resolvable resolvable) { try { Field delegateField = (Field) privilegedGetDelegateField.run(); PrivilegedSetValueInField privilegedSetValueInDelegateField = new PrivilegedSetValueInField(delegateField, this, resolvable); privilegedSetValueInDelegateField.run(); } catch (NoSuchFieldException nsfException){ throw SDOException.errorAccessingExternalizableDelegator("delegate", nsfException); } catch (IllegalAccessException iaException){ throw SDOException.errorAccessingExternalizableDelegator("delegate", iaException); } } }
private SDOResolvable getDelegate() { try { Field delegateField = privilegedGetDelegateField.run(); PrivilegedGetValueFromField privilegedGetValueFromDelegateField = new PrivilegedGetValueFromField(delegateField, this); return (SDOResolvable) privilegedGetValueFromDelegateField.run(); }catch (NoSuchFieldException nsfException){ throw SDOException.errorAccessingExternalizableDelegator("delegate", nsfException); }catch (IllegalAccessException iaException){ throw SDOException.errorAccessingExternalizableDelegator("delegate", iaException); } }
private SDOResolvable getDelegate() { try { Field delegateField = privilegedGetDelegateField.run(); PrivilegedGetValueFromField privilegedGetValueFromDelegateField = new PrivilegedGetValueFromField(delegateField, this); return (SDOResolvable) privilegedGetValueFromDelegateField.run(); }catch (NoSuchFieldException nsfException){ throw SDOException.errorAccessingExternalizableDelegator("delegate", nsfException); }catch (IllegalAccessException iaException){ throw SDOException.errorAccessingExternalizableDelegator("delegate", iaException); } }