Skip to content

Commit

Permalink
fixed exceptions in Zend\Wildfire
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed May 18, 2012
1 parent 0a3c574 commit 51f4920
Show file tree
Hide file tree
Showing 17 changed files with 231 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend\Wildfire\Plugin;
namespace Zend\Wildfire\Channel\Exception;

use Zend\Wildfire\Exception\ExceptionInterface as Exception;

/**
* @category Zend
* @package Zend_Wildfire
* @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\Wildfire\Exception
{
}

interface ExceptionInterface extends Exception
{}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
*/

namespace Zend\Wildfire\Channel\Exception;
use Zend\Wildfire\Channel\Exception;

use Zend\Wildfire\Exception;

/**
* Exception for Zend_Wildfire component.
Expand All @@ -31,7 +32,6 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class InvalidArgumentException
extends \InvalidArgumentException
implements Exception
{
}
extends Exception\InvalidArgumentException
implements ExceptionInterface
{}
10 changes: 5 additions & 5 deletions library/Zend/Wildfire/Channel/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
*/

namespace Zend\Wildfire\Channel\Exception;
use Zend\Wildfire\Channel\Exception;

use Zend\Wildfire\Exception;

/**
* Exception for Zend_Wildfire component.
Expand All @@ -31,7 +32,6 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class RuntimeException
extends \RuntimeException
implements Exception
{
}
extends Exception\RuntimeException
implements ExceptionInterface
{}
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend\Wildfire;
namespace Zend\Wildfire\Exception;

/**
* @category Zend
* @package Zend_Wildfire
* @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
{}
35 changes: 35 additions & 0 deletions library/Zend/Wildfire/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Wildfire
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @version $Id$
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend\Wildfire\Exception;

/**
* Exception for Zend_Wildfire component.
*
* @category Zend
* @package Zend_Wildfire
* @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 ExceptionInterface
{}
35 changes: 35 additions & 0 deletions library/Zend/Wildfire/Exception/OutOfBoundsException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Wildfire
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @version $Id$
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend\Wildfire\Exception;

/**
* Exception for Zend_Wildfire component.
*
* @category Zend
* @package Zend_Wildfire
* @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 OutOfBoundsException
extends \OutOfBoundsException
implements ExceptionInterface
{}
34 changes: 34 additions & 0 deletions library/Zend/Wildfire/Exception/OutOfRangeException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Wildfire
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend\Wildfire\Exception;

/**
* Exception for Zend_Wildfire component.
*
* @category Zend
* @package Zend_Wildfire
* @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 OutOfRangeException
extends \OutOfRangeException
implements ExceptionInterface
{}
35 changes: 35 additions & 0 deletions library/Zend/Wildfire/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Wildfire
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @version $Id$
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend\Wildfire\Exception;

/**
* Exception for Zend_Wildfire component.
*
* @category Zend
* @package Zend_Wildfire
* @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 ExceptionInterface
{}
35 changes: 35 additions & 0 deletions library/Zend/Wildfire/Exception/UnexpectedValueException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Wildfire
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @version $Id$
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend\Wildfire\Exception;

/**
* Exception for Zend_Wildfire component.
*
* @category Zend
* @package Zend_Wildfire
* @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 UnexpectedValueException
extends \UnexpectedValueException
implements ExceptionInterface
{}
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace Zend\Wildfire\Channel;
namespace Zend\Wildfire\Plugin\Exception;

use Zend\Wildfire\Exception\ExceptionInterface as Exception;

/**
* @category Zend
* @package Zend_Wildfire
* @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\Wildfire\Exception
{
}

interface ExceptionInterface extends Exception
{}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
*/

namespace Zend\Wildfire\Plugin\Exception;
use Zend\Wildfire\Plugin\Exception;

use Zend\Wildfire\Exception;

/**
* Exception for Zend_Wildfire component.
Expand All @@ -31,7 +32,6 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class InvalidArgumentException
extends \InvalidArgumentException
implements Exception
{
}
extends Exception\InvalidArgumentException
implements ExceptionInterface
{}
10 changes: 5 additions & 5 deletions library/Zend/Wildfire/Plugin/Exception/OutOfBoundsException.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
*/

namespace Zend\Wildfire\Plugin\Exception;
use Zend\Wildfire\Plugin\Exception;

use Zend\Wildfire\Exception;

/**
* Exception for Zend_Wildfire component.
Expand All @@ -31,7 +32,6 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class OutOfBoundsException
extends \OutOfBoundsException
implements Exception
{
}
extends Exception\OutOfBoundsException
implements ExceptionInterface
{}
10 changes: 5 additions & 5 deletions library/Zend/Wildfire/Plugin/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
*/

namespace Zend\Wildfire\Plugin\Exception;
use Zend\Wildfire\Plugin\Exception;

use Zend\Wildfire\Exception;

/**
* Exception for Zend_Wildfire component.
Expand All @@ -31,7 +32,6 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class RuntimeException
extends \RuntimeException
implements Exception
{
}
extends Exception\RuntimeException
implements ExceptionInterface
{}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
*/

namespace Zend\Wildfire\Plugin\Exception;
use Zend\Wildfire\Plugin\Exception;

use Zend\Wildfire\Exception;

/**
* Exception for Zend_Wildfire component.
Expand All @@ -31,7 +32,6 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class UnexpectedValueException
extends \UnexpectedValueException
implements Exception
{
}
extends Exception\UnexpectedValueException
implements ExceptionInterface
{}
Loading

0 comments on commit 51f4920

Please sign in to comment.