<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Core\Exception; class BizException extends \Exception { public $param = array(); public static function throws($jspW5, $ACVUe = array()) { goto Om4an; YDk_j: throw $Xlb8r; goto VDSm5; mLbYL: $Xlb8r->param = $ACVUe; goto YDk_j; Om4an: $Xlb8r = new BizException($jspW5); goto mLbYL; VDSm5: } public static function throwsIf($jspW5, $i7RgZ, $ACVUe = array()) { if ($i7RgZ) { goto soxNv; XIvP9: throw $Xlb8r; goto Z4jQk; MChLW: $Xlb8r->param = $ACVUe; goto XIvP9; soxNv: $Xlb8r = new BizException($jspW5); goto MChLW; Z4jQk: } } public static function throwsIfEmpty($jspW5, $ElOyi, $ACVUe = array()) { if (empty($ElOyi)) { goto ay0gg; Dvb_3: $Xlb8r->param = $ACVUe; goto Pxb_W; Pxb_W: throw $Xlb8r; goto lQrpP; ay0gg: $Xlb8r = new BizException($jspW5); goto Dvb_3; lQrpP: } } public static function throwsIfNotEmpty($jspW5, $ElOyi, $ACVUe = array()) { if (!empty($ElOyi)) { goto HIirg; HIirg: $Xlb8r = new BizException($jspW5); goto DvZbm; fIcou: throw $Xlb8r; goto Z8sVy; DvZbm: $Xlb8r->param = $ACVUe; goto fIcou; Z8sVy: } } public static function throwsIfResponseError($FqOmX, $Tx0ze = '', $ACVUe = array()) { goto plvBE; bDKaq: if ($FqOmX['code']) { goto rVtF0; HnBHt: $Xlb8r->param = $ACVUe; goto q8f2R; q8f2R: throw $Xlb8r; goto ZPbAh; rVtF0: $Xlb8r = new BizException($Tx0ze . $FqOmX['msg']); goto HnBHt; ZPbAh: } goto nyLa9; plvBE: if ($Tx0ze) { $Tx0ze = $Tx0ze . ':'; } goto c2SzW; c2SzW: if (empty($FqOmX)) { goto XY80_; XY80_: $Xlb8r = new BizException($Tx0ze . 'Response Empty'); goto qKcGm; RRU53: throw $Xlb8r; goto yLOf_; qKcGm: $Xlb8r->param = $ACVUe; goto RRU53; yLOf_: } goto bDKaq; nyLa9: } }