code: public String dev_status() throws DevFailed {
  	if (device_state.value() == DevState._ALARM || device_state.value() == DevState._ON) {
  	    final StringBuffer alarm_status = new StringBuffer(device_status);
  	    dev_attr.read_alarm(alarm_status);
  	    return alarm_status.toString();
  	}
  	return device_status;
      }
docs: Get device status.
  
  Default method to get device status. It returns the contents of the
  device device_status field. If the device state is ALARM, alarm messages
  are added to the device status. This method can be redefined in
  sub-classes in case of the default behaviour does not fullfill the needs
  
  @return The device status
  @exception DevFailed
  This method does not throw exception but a redefined
  method can. Click <a
  href="../../tango_basic/idl_html/Tango.html#DevFailed"
  >here</a> to read <b>DevFailed</b> exception specification