From d5ae471d940db03a5d52480ca1248665a8e37b11 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Mon, 4 Feb 2013 18:58:26 +0000 Subject: [PATCH] Throw root exception --- src/OAuth2/Util/SecureKey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OAuth2/Util/SecureKey.php b/src/OAuth2/Util/SecureKey.php index eaa741c7..53014278 100644 --- a/src/OAuth2/Util/SecureKey.php +++ b/src/OAuth2/Util/SecureKey.php @@ -13,7 +13,7 @@ class SecureKey // We want to stop execution if the key fails because, well, that is bad. if ($bytes === false || $strong === false) { - throw new Exception('Error Generating Key'); + throw new \Exception('Error Generating Key'); } return substr(str_replace(array('/', '+', '='), '', base64_encode($bytes)), 0, $len);