void function ( Response_Unit arg0 ) { String loc0 = arg0 . loc0 ( ) ; if ( arg0 == null ) throw new Null_Object_Exception ( ) ; else if ( Response_Unit_Exists ( loc0 ) ) throw new Duplicate_Item_Exception ( loc0 ) ; else Response_Unit_DB . put ( loc0 , arg0 ) ; }
this subprogram adds a new response_unit to the data store . the new response unit must be valid response_unit object and it 's id must be unique i.e. , must not already exist in the data store . exceptions thrown : null_object_exception concode_field_sep HashMap<String,Response_Unit> Response_Unit_DB concode_field_sep Response_Unit Response_Unit_Named concode_elem_sep boolean Response_Unit_Exists