From fd997f6b8be1dfebf92472d51d019ddcafc1cc0a Mon Sep 17 00:00:00 2001 From: vichandrasekaran Date: Tue, 28 May 2013 11:24:07 +0530 Subject: [PATCH] Update lib/PayPal/Rest/RestHandler.php Updating namespace of PPConfiguration exception thrown by the handler --- lib/PayPal/Rest/RestHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PayPal/Rest/RestHandler.php b/lib/PayPal/Rest/RestHandler.php index 15dd599..58d3010 100644 --- a/lib/PayPal/Rest/RestHandler.php +++ b/lib/PayPal/Rest/RestHandler.php @@ -66,11 +66,11 @@ class RestHandler implements \IPPHandler { return \PPConstants::REST_LIVE_ENDPOINT; break; default: - throw new PPConfigurationException('The mode config parameter must be set to either sandbox/live'); + throw new \PPConfigurationException('The mode config parameter must be set to either sandbox/live'); break; } } else { - throw new PPConfigurationException('You must set one of service.endpoint or mode parameters in your configuration'); + throw new \PPConfigurationException('You must set one of service.endpoint or mode parameters in your configuration'); } }