芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/views/Exception.zip
PK qlqYGQ NotFoundException.phpnu [ . */ namespace Xibo\Exception; /** * Class NotFoundException * @package Xibo\Exception */ class NotFoundException extends XiboException { public $httpStatusCode = 404; public $handledException = true; public $entity = null; /** * NotFoundException constructor. * @param string $message * @param string $entity */ public function __construct($message = null, $entity = null) { $this->entity = $entity; if ($message === null) $message = __('Not Found'); parent::__construct($message); } /** * @return array */ public function getErrorData() { return ['entity' => $this->entity]; } }PK qlqYM+R XiboException.phpnu [ handledException; } }PK qlqYo6 ConfigurationException.phpnu [ . */ namespace Xibo\Exception; class ControllerNotImplemented extends XiboException { }PK qlqY)4Z Z UpgradePendingException.phpnu [ . */ namespace Xibo\Exception; class AccessDeniedException extends \RuntimeException { /** * Public Constructor * * @param string $message * @param int $code * @param \Exception $previous */ public function __construct($message = 'Access Denied', $code = 403, \Exception $previous = null) { $message = __($message); parent::__construct($message, $code, $previous); } }PK qlqY' DuplicateEntityException.phpnu [ property = $property; parent::__construct($message); } /** * @return array */ public function getErrorData() { return ['property' => $this->property]; } }PK qlqYɆ TokenExpiredException.phpnu [ . */ namespace Xibo\Exception; /** * Class GeneralException * @package Xibo\Exception */ class GeneralException extends XiboException { public $httpStatusCode = 400; public $handledException = true; public $entity = null; /** * GeneralException constructor. * @param string $message * @param string $entity */ public function __construct($message = null, $entity = null) { $this->entity = $entity; if ($message === null) $message = __('Error'); parent::__construct($message); } /** * @return array */ public function getErrorData() { return ['entity' => $this->entity]; } }PK qlqYTj j FormExpiredException.phpnu [ . */ namespace Xibo\Exception; class FormExpiredException extends \Exception { }PK qlqY0<