www.gusucode.com > 高端教育培训门户+论坛网站源码程序 > 整站安装/整站源码/source/plugin/manyou/Service/Client/RestfulException.php
<?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subject to license terms * * $Id: RestfulException.php 28702 2012-03-08 06:43:58Z yexinhao $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Cloud_Service_Client_RestfulException extends Exception { public function __construct($message, $code = 0) { if ($message instanceof Exception) { parent::__construct($message->getMessage(), intval($message->getCode())); } else { parent::__construct($message, intval($code)); } } }