diff --git a/src/bb-modules/Api/Controller/Client.php b/src/bb-modules/Api/Controller/Client.php index fe74e7e72..f9364714e 100644 --- a/src/bb-modules/Api/Controller/Client.php +++ b/src/bb-modules/Api/Controller/Client.php @@ -151,15 +151,15 @@ class Client implements InjectionAwareInterface } if(!isset($_SERVER['PHP_AUTH_USER'])) { - throw new Box_Exception('Authentication Failed', null, 201); + throw new \Box_Exception('Authentication Failed', null, 201); } if(!isset($_SERVER['PHP_AUTH_PW'])) { - throw new Box_Exception('Authentication Failed', null, 202); + throw new \Box_Exception('Authentication Failed', null, 202); } if(empty($_SERVER['PHP_AUTH_PW'])) { - throw new Box_Exception('Authentication Failed', null, 206); + throw new \Box_Exception('Authentication Failed', null, 206); } return array($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']);