git-svn-id: https://msi/svn/firstRepo/Service/trunk@23 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2014-12-10 15:19:03 +00:00
parent 4f363403ca
commit f7d8f47f57
30 changed files with 4732 additions and 3053 deletions
@@ -1,38 +1,38 @@
<?php
namespace PHPImageWorkshop\Exception;
/**
* ImageWorkshopBaseException
*
* The inherited exception class
*
* @link http://phpimageworkshop.com
* @author Bjørn Børresen | Sybio (Clément Guillemain / @Sybio01)
* @license http://en.wikipedia.org/wiki/MIT_License
* @copyright Clément Guillemain
*/
class ImageWorkshopBaseException extends \Exception
{
/**
* Constructor
*
* @param string $message
* @param integer $code
* @param Exception $previous
*/
public function __construct($message, $code = 0, \Exception $previous = null)
{
parent::__construct($message, $code, $previous);
}
/**
* __toString method
*
* @return string
*/
public function __toString()
{
return __CLASS__.": [{$this->code}]: {$this->message}\n";
}
<?php
namespace PHPImageWorkshop\Exception;
/**
* ImageWorkshopBaseException
*
* The inherited exception class
*
* @link http://phpimageworkshop.com
* @author Bjørn Børresen | Sybio (Clément Guillemain / @Sybio01)
* @license http://en.wikipedia.org/wiki/MIT_License
* @copyright Clément Guillemain
*/
class ImageWorkshopBaseException extends \Exception
{
/**
* Constructor
*
* @param string $message
* @param integer $code
* @param Exception $previous
*/
public function __construct($message, $code = 0, \Exception $previous = null)
{
parent::__construct($message, $code, $previous);
}
/**
* __toString method
*
* @return string
*/
public function __toString()
{
return __CLASS__.": [{$this->code}]: {$this->message}\n";
}
}