changed namespace from BSR\Lib to BSR\Webservice

This commit is contained in:
Guillermo Dev
2018-10-09 21:52:51 +02:00
parent 3d0d4fef67
commit 92e6435312
15 changed files with 27 additions and 27 deletions

View File

@@ -1,16 +1,16 @@
<?php
namespace BSR\Lib\Exception;
namespace BSR\Webservice\Exception;
/**
* This exception should be raised when an error
* related to the authentication mechanism arise.
*
* @package BSR\Lib\Exception
* @package BSR\Webservice\Exception
*/
class AuthenticationException extends WebException {
const USER_NOT_FOUND = 200;
const BAD_LOGIN = 201;
const AUTHENTICATION_FAILED = 202;
const LOGIN_EMPTY = 203;
}
}

View File

@@ -1,6 +1,6 @@
<?php
namespace BSR\Lib\Exception;
namespace BSR\Webservice\Exception;
/**
* Exception raised when an invalid attribute name is accessed

View File

@@ -1,6 +1,6 @@
<?php
namespace BSR\Lib\Exception;
namespace BSR\Webservice\Exception;
class SqlException extends \Exception
{

View File

@@ -1,12 +1,12 @@
<?php
namespace BSR\Lib\Exception;
namespace BSR\Webservice\Exception;
/**
* This exception should be raised by the WebService engine when
* there is an error preventing the correct calling of a method.
*
* @package BSR\Lib\Exception
* @package BSR\Webservice\Exception
*/
class UsageException extends WebException {
const NO_ARGS = 100;

View File

@@ -1,6 +1,6 @@
<?php
namespace BSR\Lib\Exception;
namespace BSR\Webservice\Exception;
class WebException extends \Exception
{