コード例 #1
1
ファイル: Exception.php プロジェクト: netixx/Stock
 public function __construct($message = '', $code = 0, Exception $e = null)
 {
     if ($e && 0 === $code) {
         $code = $e->getCode();
     }
     parent::__construct($message, $code, $e);
 }
コード例 #2
0
ファイル: Exception.php プロジェクト: quangbt2005/vhost-kis
 public function __construct($message = null, Exception $e = null)
 {
     if ($e) {
         $this->_chainedException = $e;
         $this->code = $e->getCode();
     }
     parent::__construct($message);
 }
コード例 #3
0
ファイル: Exception.php プロジェクト: sakibanda/emarketing
 public function __construct($msg = '', $code = 0, Mzax_Db_Select $select = null, Exception $previous = null)
 {
     parent::__construct($msg, $code, $previous);
     $this->select = $select;
     if ($select) {
         $this->bindings = $select->getBindings();
     }
 }
コード例 #4
0
 public function __construct($message = null, Exception $e = null)
 {
     $this->_chainedException = $e;
     parent::__construct($message);
 }