public function getDeliveryExecutionById($deliveryExecutionId)
    {
        $deliveryExecution = $this->getDeliveryExecutionService()->getDeliveryExecution($deliveryExecutionId);
        try {
            $deliveryExecution->getDelivery();
        } catch (\common_exception_NotFound $e) {
            throw new \common_exception_NotFound('Provided parameters don\'t match with any delivery execution.');
        }
        return $deliveryExecution;
    }
public function getDeliveryExecutionById($deliveryExecutionId)
    {
        $deliveryExecution = $this->getDeliveryExecutionService()->getDeliveryExecution($deliveryExecutionId);
        try {
            $deliveryExecution->getDelivery();
        } catch (\common_exception_NotFound $e) {
            throw new \common_exception_NotFound('Provided parameters don\'t match with any delivery execution.');
        }
        return $deliveryExecution;
    }
public function getDeliveryExecutionById ( $ deliveryExecutionId ) { $ deliveryExecution = $ this -> getDeliveryExecutionService ( ) -> getDeliveryExecution ( $ deliveryExecutionId ) ; try { $ deliveryExecution -> getDelivery ( ) ; } catch ( \ common_exception_NotFound $ e ) { throw new \ common_exception_NotFound ( 'Provided parameters don\'t match with any delivery execution.' ) ; } return $ deliveryExecution ; }
Get Delivery execution from resource

@param $deliveryExecutionId
@return DeliveryExecutionInterface
@throws \common_exception_NotFound
Get Delivery execution from resource