changed namespace from BSR\Lib to BSR\Webservice
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace BSR\Lib\Exception;
|
||||
namespace BSR\Webservice\Exception;
|
||||
|
||||
/**
|
||||
* Exception raised when an invalid attribute name is accessed
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace BSR\Lib\Exception;
|
||||
namespace BSR\Webservice\Exception;
|
||||
|
||||
class SqlException extends \Exception
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace BSR\Lib\Exception;
|
||||
namespace BSR\Webservice\Exception;
|
||||
|
||||
class WebException extends \Exception
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user