1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
<?php
/**
* Stub replacement for PEAR Errors
*
* PHP version 5
*
* @category Horde
* @package Exception
* @author Gunnar Wrobel <wrobel@pardus.de>
* @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
* @link http://pear.horde.org/index.php?package=Exception
*/
class Horde_Exception_Stub_PearError
{
private $_message;
private $_code;
public function __construct($message = null, $code = null)
{
$this->_message = $message;
$this->_code = $code;
}
public function getMessage()
{
return $this->_message;
}
public function getCode()
{
return $this->_code;
}
}
|