uawdijnntqw1x1x1
IP : 3.137.142.253
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
yar.axolotls.ru
/
bitrix
/
modules
/
main
/
lib
/
engine
/
..
/
exception.php
/
/
<?php namespace Bitrix\Main; /** * Base class for fatal exceptions */ class SystemException extends \Exception { /** * Creates new exception object. * * @param string $message * @param int $code * @param string $file * @param int $line * @param \Exception $previous */ public function __construct($message = "", $code = 0, $file = "", $line = 0, \Exception $previous = null) { parent::__construct($message, $code, $previous); if (!empty($file) && !empty($line)) { $this->file = $file; $this->line = $line; } } } /** * Exception is thrown when function argument is not valid. */ class ArgumentException extends SystemException { protected $parameter; public function __construct($message = "", $parameter = "", \Exception $previous = null) { parent::__construct($message, 100, '', 0, $previous); $this->parameter = $parameter; } public function getParameter() { return $this->parameter; } } /** * Exception is thrown when "empty" value is passed to a function that does not accept it as a valid argument. */ class ArgumentNullException extends ArgumentException { public function __construct($parameter, \Exception $previous = null) { $message = sprintf("Argument '%s' is null or empty", $parameter); parent::__construct($message, $parameter, $previous); } } /** * Exception is thrown when the value of an argument is outside the allowable range of values. */ class ArgumentOutOfRangeException extends ArgumentException { protected $lowerLimit; protected $upperLimit; /** * Creates new exception object. * * @param string $parameter Argument that generates exception * @param null $lowerLimit Either lower limit of the allowable range of values or an array of allowable values * @param null $upperLimit Upper limit of the allowable values * @param \Exception $previous */ public function __construct($parameter, $lowerLimit = null, $upperLimit = null, \Exception $previous = null) { if (is_array($lowerLimit)) $message = sprintf("The value of an argument '%s' is outside the allowable range of values: %s", $parameter, implode(", ", $lowerLimit)); elseif (($lowerLimit !== null) && ($upperLimit !== null)) $message = sprintf("The value of an argument '%s' is outside the allowable range of values: from %s to %s", $parameter, $lowerLimit, $upperLimit); elseif (($lowerLimit === null) && ($upperLimit !== null)) $message = sprintf("The value of an argument '%s' is outside the allowable range of values: not greater than %s", $parameter, $upperLimit); elseif (($lowerLimit !== null) && ($upperLimit === null)) $message = sprintf("The value of an argument '%s' is outside the allowable range of values: not less than %s", $parameter, $lowerLimit); else $message = sprintf("The value of an argument '%s' is outside the allowable range of values", $parameter); $this->lowerLimit = $lowerLimit; $this->upperLimit = $upperLimit; parent::__construct($message, $parameter, $previous); } public function getLowerLimitType() { return $this->lowerLimit; } public function getUpperType() { return $this->upperLimit; } } /** * Exception is thrown when the type of an argument is not accepted by function. */ class ArgumentTypeException extends ArgumentException { protected $requiredType; /** * Creates new exception object * * @param string $parameter Argument that generates exception * @param string $requiredType Required type * @param \Exception $previous */ public function __construct($parameter, $requiredType = "", \Exception $previous = null) { if (!empty($requiredType)) $message = sprintf("The value of an argument '%s' must be of type %s", $parameter, $requiredType); else $message = sprintf("The value of an argument '%s' has an invalid type", $parameter); $this->requiredType = $requiredType; parent::__construct($message, $parameter, $previous); } public function getRequiredType() { return $this->requiredType; } } /** * Exception is thrown when operation is not implemented but should be. */ class NotImplementedException extends SystemException { public function __construct($message = "", \Exception $previous = null) { parent::__construct($message, 140, '', 0, $previous); } } /** * Exception is thrown when operation is not supported. */ class NotSupportedException extends SystemException { public function __construct($message = "", \Exception $previous = null) { parent::__construct($message, 150, '', 0, $previous); } } /** * Exception is thrown when a method call is invalid for current state of object. */ class InvalidOperationException extends SystemException { public function __construct($message = "", \Exception $previous = null) { parent::__construct($message, 160, '', 0, $previous); } } /** * Exception is thrown when object property is not valid. */ class ObjectPropertyException extends ArgumentException { public function __construct($parameter = "", \Exception $previous = null) { parent::__construct("Object property \"".$parameter."\" not found.", $parameter, $previous); } } /** * Exception is thrown when the object can't be constructed. */ class ObjectException extends SystemException { public function __construct($message = "", \Exception $previous = null) { parent::__construct($message, 500, '', 0, $previous); } } /** * Exception is thrown when an object is not present. */ class ObjectNotFoundException extends SystemException { public function __construct($message = "", \Exception $previous = null) { parent::__construct($message, 510, '', 0, $previous); } } /** * Exception is thrown when access is denied */ class AccessDeniedException extends SystemException { public function __construct($message = "", \Exception $previous = null) { parent::__construct(($message ?: "Access denied."), 510, '', 0, $previous); } } class DecodingException extends SystemException { }
/var/www/axolotl/data/www/yar.axolotls.ru/bitrix/modules/main/lib/engine/../exception.php