Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'prolic/json-renamed-interfaces'
Browse files Browse the repository at this point in the history
  • Loading branch information
akrabat committed May 15, 2012
2 parents a6db686 + 9477a03 commit 6c3029f
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend\Json;
namespace Zend\Json\Exception;

/**
* @category Zend
* @package Zend_Json
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Exception
interface ExceptionInterface
{}
4 changes: 3 additions & 1 deletion library/Zend/Json/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class InvalidArgumentException extends \InvalidArgumentException implements \Zend\Json\Exception
class InvalidArgumentException
extends \InvalidArgumentException
implements ExceptionInterface
{}
4 changes: 3 additions & 1 deletion library/Zend/Json/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class RuntimeException extends \RuntimeException implements \Zend\Json\Exception
class RuntimeException
extends \RuntimeException
implements ExceptionInterface
{}
5 changes: 2 additions & 3 deletions library/Zend/Json/Server/Exception/ErrorException.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

namespace Zend\Json\Server\Exception;

use BadMethodCallException,
Zend\Json\Server\Exception;
use BadMethodCallException;

/**
* Thrown by Zend\Json\Server\Client when an JSON-RPC fault response is returned.
Expand All @@ -35,5 +34,5 @@
*/
class ErrorException
extends BadMethodCallException
implements Exception
implements ExceptionInterface
{}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend\Json\Server;
namespace Zend\Json\Server\Exception;

use Zend\Json\Exception\ExceptionInterface as Exception;

/**
* @category Zend
Expand All @@ -27,5 +29,5 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface Exception extends \Zend\Json\Exception
interface ExceptionInterface extends Exception
{}
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@

namespace Zend\Json\Server\Exception;

use Zend\Json\Exception;

/**
* @category Zend
* @package Zend_Json
* @subpackage Server
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class InvalidArgumentException extends \InvalidArgumentException implements \Zend\Json\Server\Exception
class InvalidArgumentException
extends Exception\InvalidArgumentException
implements ExceptionInterface
{}
6 changes: 5 additions & 1 deletion library/Zend/Json/Server/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@

namespace Zend\Json\Server\Exception;

use Zend\Json\Exception;

/**
* @category Zend
* @package Zend_Json
* @subpackage Server
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class RuntimeException extends \RuntimeException implements \Zend\Json\Server\Exception
class RuntimeException
extends Exception\RuntimeException
implements ExceptionInterface
{}
2 changes: 1 addition & 1 deletion library/Zend/Locale/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

class InvalidArgumentException
extends \InvalidArgumentException
implements \Zend\Locale\Exception
implements ExceptionInterface
{}
2 changes: 1 addition & 1 deletion library/Zend/Locale/Exception/MathException.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
class MathException
extends \LogicException
implements \Zend\Locale\Exception
implements ExceptionInterface
{
protected $op1 = null;
protected $op2 = null;
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Locale/Exception/UnexpectedValueException.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

class UnexpectedValueException
extends \UnexpectedValueException
implements \Zend\Locale\Exception
implements ExceptionInterface
{}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

class UnsupportedMethod
extends \RuntimeException
implements \Zend\Locale\Exception
implements ExceptionInterface
{}

0 comments on commit 6c3029f

Please sign in to comment.