From 5adc6f54d072d78fefdf6948698a4c04824ddd60 Mon Sep 17 00:00:00 2001 From: Patrick Murray-John Date: Thu, 12 Jun 2014 12:51:44 -0400 Subject: [PATCH] Update Memory.php I think this catches exceptions from addFileNamespace as intended --- TokenReflection/Broker/Backend/Memory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TokenReflection/Broker/Backend/Memory.php b/TokenReflection/Broker/Backend/Memory.php index 464456ed..9af7ce8d 100644 --- a/TokenReflection/Broker/Backend/Memory.php +++ b/TokenReflection/Broker/Backend/Memory.php @@ -475,7 +475,7 @@ public function addFile(TokenReflection\Stream\StreamBase $tokenStream, TokenRef } $this->namespaces[$namespaceName]->addFileNamespace($fileNamespace); - } catch (Exception\FileProcessingException $e) { + } catch (\Exception\FileProcessingException $e) { $errors = array_merge($errors, $e->getReasons()); } catch (\Exception $e) { echo $e->getTraceAsString();