Update lib/PayPal/Rest/RestHandler.php

Updating namespace of PPConfiguration exception thrown by the handler
This commit is contained in:
vichandrasekaran
2013-05-28 11:24:07 +05:30
parent 86643ec2df
commit fd997f6b8b

View File

@@ -66,11 +66,11 @@ class RestHandler implements \IPPHandler {
return \PPConstants::REST_LIVE_ENDPOINT; return \PPConstants::REST_LIVE_ENDPOINT;
break; break;
default: 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; break;
} }
} else { } 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');
} }
} }