final void invokeSetter(String name,M setter,Object target,Object arg,Object cookie) throws MBeanException, ReflectionException, InvalidAttributeValueException {
  try {
    invokeM2(setter,target,new Object[]{arg},cookie);
  }
 catch (  IllegalAccessException e) {
    throw new ReflectionException(e,e.toString());
  }
catch (  RuntimeException e) {
    maybeInvalidParameter(name,setter,arg,cookie);
    throw e;
  }
catch (  InvocationTargetException e) {
    maybeInvalidParameter(name,setter,arg,cookie);
    unwrapInvocationTargetException(e);
  }
}

final void invokeSetter ( String name , M setter , Object target , Object arg , Object cookie ) throws MBeanException , ReflectionException , InvalidAttributeValueException { try { invokeM2 ( setter , target , new Object [ ] { arg } , cookie ) ; } catch ( IllegalAccessException e ) { throw new ReflectionException ( e , e . toString ( ) ) ; } catch ( RuntimeException e ) { maybeInvalidParameter ( name , setter , arg , cookie ) ; throw e ; } catch ( InvocationTargetException e ) { maybeInvalidParameter ( name , setter , arg , cookie ) ; unwrapInvocationTargetException ( e ) ; } }
invoke the given setter on the given target with the given argument and cookie . wrap exceptions appropriately .
