def get_task(task_id)
      begin
        @task.get_task(task_id)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end 
    end
def get_task(task_id)
      begin
        @task.get_task(task_id)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end 
    end
Get the status of a 3PAR Task

 ==== Attributes

 * task_id - the task id
      type task_id: Integer

 ==== Returns

 Task

 ==== Raises

 * Hpe3parSdk::HTTPBadRequest
        - INV_INPUT_BELOW_RANGE - Bad Request Task ID must be a positive value.
 * Hpe3parSdk::HTTPBadRequest
        - INV_INPUT_EXCEEDS_RANGE - Bad Request Task ID is too large.
 * Hpe3parSdk::HTTPNotFound
        - NON_EXISTENT_TASK - Task with the specified Task ID does not exist.
 * Hpe3parSdk::HTTPBadRequest
        - INV_INPUT_WRONG_TYPE - Task ID is not an integer.