/** * Handle exception thrown from making order detail request. * * @param EbayEnterprise_Order_Exception_Order_Detail_Notfound_Exception * @return self */ protected function _handleOrderDetailException(EbayEnterprise_Order_Exception_Order_Detail_Notfound_Exception $e) { // Set the error message $coreSession = $this->_orderFactory->getCoreSessionModel(); $coreSession->addError($e->getMessage()); //Redirect to the rom return path $customerSession = $this->_orderFactory->getCustomerSession(); $returnPath = $this->_getRomReturnPath($customerSession); $this->_redirect($returnPath); return $this; }