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

Commit

Permalink
fixed exceptions in Zend\Text
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed May 18, 2012
1 parent 1da7cff commit c2781ab
Show file tree
Hide file tree
Showing 11 changed files with 116 additions and 23 deletions.
1 change: 0 additions & 1 deletion src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
/**
* @category Zend
* @package Zend_Text
* @subpackage Exception
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
Expand Down
10 changes: 10 additions & 0 deletions src/Exception/OutOfBoundsException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Zend\Text\Exception;

use Zend\Text\Exception;

class OutOfBoundsException
extends \OutOfBoundsException
implements ExceptionInterface
{}
10 changes: 10 additions & 0 deletions src/Exception/OverflowException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Zend\Text\Exception;

use Zend\Text\Exception;

class OverflowException
extends \OverflowException
implements ExceptionInterface
{}
32 changes: 32 additions & 0 deletions src/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?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 license@zend.com so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Text
* @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\Text\Exception;

/**
* @category Zend
* @package Zend_Text
* @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
{}
33 changes: 33 additions & 0 deletions src/Exception/UnexpectedValueException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?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 license@zend.com so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Text
* @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\Text\Exception;

/**
* @category Zend
* @package Zend_Text
* @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
{
}
11 changes: 6 additions & 5 deletions src/Figlet/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@

namespace Zend\Text\Figlet\Exception;

use Zend\Text\Exception;

/**
* Exception class for Zend_Figlet
* Exception class for Zend_Text
*
* @category Zend
* @package Zend_Text_Figlet
* @package Zend_Text
* @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
extends Exception\InvalidArgumentException
implements ExceptionInterface
{
}
{}
9 changes: 5 additions & 4 deletions src/Figlet/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@

namespace Zend\Text\Figlet\Exception;

use Zend\Text\Exception;

/**
* Exception class for Zend_Figlet
* Exception class for Zend_Text
*
* @category Zend
* @package Zend_Text_Figlet
* @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
extends Exception\RuntimeException
implements ExceptionInterface
{
}
{}
9 changes: 5 additions & 4 deletions src/Figlet/Exception/UnexpectedValueException.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@

namespace Zend\Text\Figlet\Exception;

use Zend\Text\Exception;

/**
* Exception class for Zend_Figlet
* Exception class for Zend_Text
*
* @category Zend
* @package Zend_Text_Figlet
* @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
extends Exception\UnexpectedValueException
implements ExceptionInterface
{
}
{}
8 changes: 5 additions & 3 deletions src/Table/Exception/OutOfBoundsException.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?php

namespace Zend\Text\Table\Exception;

use Zend\Text\Exception;

class OutOfBoundsException
extends \OutOfBoundsException
extends Exception\OutOfBoundsException
implements ExceptionInterface
{
}
{}
8 changes: 5 additions & 3 deletions src/Table/Exception/OverflowException.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?php

namespace Zend\Text\Table\Exception;

use Zend\Text\Exception;

class OverflowException
extends \OverflowException
extends Exception\OverflowException
implements ExceptionInterface
{
}
{}
8 changes: 5 additions & 3 deletions src/Table/Exception/UnexpectedValueException.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?php

namespace Zend\Text\Table\Exception;

use Zend\Text\Exception;

class UnexpectedValueException
extends \UnexpectedValueException
extends Exception\UnexpectedValueException
implements ExceptionInterface
{
}
{}

0 comments on commit c2781ab

Please sign in to comment.