public void write_attribute(final DeviceProxy deviceProxy, final DeviceAttribute deviceAttribute)
	    	throws DevFailed {
		checkIfTango(deviceProxy, "write_attribute");
		try {
	    	final DeviceAttribute[] array = { deviceAttribute };
	    	write_attribute(deviceProxy, array);
		} catch (final NamedDevFailedList e) {
	    	final NamedDevFailed namedDF = e.elementAt(0);
	    	throw new DevFailed(namedDF.err_stack);
		} catch (final Exception e) {
	    	throw_dev_failed(deviceProxy, e, "device.write_attributes()", false);
		}
    }
public void write_attribute ( final DeviceProxy deviceProxy , final DeviceAttribute deviceAttribute ) throws DevFailed { checkIfTango ( deviceProxy , "write_attribute" ) ; try { final DeviceAttribute [ ] array = { deviceAttribute } ; write_attribute ( deviceProxy , array ) ; } catch ( final NamedDevFailedList e ) { final NamedDevFailed namedDF = e . elementAt ( 0 ) ; throw new DevFailed ( namedDF . err_stack ) ; } catch ( final Exception e ) { throw_dev_failed ( deviceProxy , e , "device.write_attributes()" , false ) ; } }
==========================================================================