/** * Constructor. * * @param string $url * @since 0.1.0 */ public function __construct($url) { parent::__construct(3, 'Route not found for url: ' . $url . ".", "Page not found."); }
/** * UnableToDeleteOwnLocationException constructor. */ public function __construct() { parent::__construct(1, 'Unable to delete own location'); }
public function __construct() { parent::__construct(1, 'Device not found.'); }
/** * Constructor. * * @param string $name * @since 0.1.0 */ public function __construct($name) { parent::__construct(6, 'Value "' . $name . '" not found.', 'Internal server error.'); }
/** * LocationNotFoundException constructor. */ public function __construct() { parent::__construct(1, "Location not found"); }
/** * Parse view for exception. * * @param \Exception $exception * @since 0.1.0 */ private function parseView($exception) { if (!$this->resources->getEnviorment()->isSilent()) { error_log($exception->getMessage() . " " . $exception->getFile() . "(" . $exception->getLine() . ")"); } $response = new Response(); $response->setStatusCode(500); $response->setContent($exception); $this->resources->registerResponse($response); $presenter = null; try { $presenter = $this->resources->getPresenter(); } catch (ResourcesNotRegisteredException $e) { $presenter = $this->findPresenter(); } try { $request = $this->resources->getRequest(); } catch (ResourcesNotRegisteredException $e) { $requestConfig = new RequestConfig('', '', $this->resources->getEnviorment(), array('route' => '', 'presenter' => array('class' => ''), 'class' => '')); if ($this->resources->getEnviorment()->isSilent()) { $request = new RequestTest($this->resources->getUrl(), $this->resources->getEnviorment()); $request->setConfig($requestConfig); } else { $session = new Session($this->resources->getEnviorment()); $request = new Request($requestConfig, $this->resources->getUrl(), $session); } $this->resources->registerRequest($request); } if ($presenter) { $event = new ExecutePresenterEvent($this->resources->getRequest(), $response); $this->eventManager->fire('executePresenter', $event); $presenter->render($request->getConfig(), $response); } }
public function __construct() { parent::__construct(1, 'Invalid auth email.'); }
/** * LogRelationEntityNotFoundException constructor. * * @param string $name entity name */ public function __construct($name) { parent::__construct(1, "Log relation entity " . $name . " not found"); }
/** * Constructor. * * @param int $position * @param string $name * @since 0.1.0 */ public function __construct($position, $name) { parent::__construct(100 + $position, 'Required argument "' . $name . '".'); }
/** * Constructor. * * @param string $key * @since 0.1.0 */ public function __construct($key) { parent::__construct(2, 'Invalid config key \'' . $key . '\'.', 'Invalid configuration.', "Internal server error."); }
/** * Constructor. * * @param int $position * @param string $name * @param string $message * @since 0.1.0 */ public function __construct($position, $name, $message) { parent::__construct(200 + $position, 'Invalid argument "' . $name . '": ' . $message); }
/** * Constructor. * * @param string $reason * @since 0.1.0 */ public function __construct($reason) { parent::__construct(10, "File fail saved. Reason: " . $reason, "Internal server error."); }
/** * Constructor. * * @param string $className * @param string $methodName * @since 0.1.0 */ public function __construct($className, $methodName) { parent::__construct(9, "Method '" . $className . "::" . $methodName . "' not found.", "Internal server error."); }
public function __construct() { parent::__construct(1, 'Order allready fetched.'); }
/** * Constructor. * * @param string $reason * @since 0.18.0 */ public function __construct($reason) { parent::__construct(40, "Invalid field name"); }
/** * Constructor. * * @since 0.1.0 */ public function __construct() { parent::__construct(12, "Resources not registered.", "Internal server error."); }
/** * Constructor * * @param string $controller * @param string $method * @since 0.1.0 */ public function __construct($controller, $method) { parent::__construct(4, 'Action "' . $controller . '" for action "' . $method . '" not found.', 'Internal server error.'); }
/** * Constructor */ public function __construct() { parent::__construct(1, 'Order belong to user.'); }
/** * OrderNotBusyException constructor. */ public function __construct() { parent::__construct(1, 'Order not busy.'); }
/** * LogEntityNotFoundException constructor. */ public function __construct() { parent::__construct(1, "Log entity not found"); }
public function __construct() { parent::__construct(1, 'Order state not found.'); }
/** * Constructor * * @since 0.1.0 */ public function __construct() { parent::__construct(20, 'Element not found.'); }
/** * Constructor. * * @param string $headerName * @since 0.1.0 */ public function __construct($headerName) { parent::__construct(11, "Header '" . $headerName . "' not found.", "Internal server error."); }
/** * Constructor. * * @param int $position * @param string $name * @since 0.1.0 */ public function __construct($position, $name) { parent::__construct(100 + $position, 'Wymagany argument "' . $name . '".'); }
/** * Constructor * * @param string $key * @since 0.1.0 */ public function __construct($key) { parent::__construct(1, 'Config atribute \'' . $key . '\' not found.', 'Invalid configuration.', "Internal server error."); }
/** * UserNotFoundException constructor. */ public function __construct() { parent::__construct(1, "User not found"); }
/** * FunctionalityNotFoundException constructor. */ public function __construct() { parent::__construct(1, "Functionality not found"); }
/** * OrderWrongLocationException constructor. */ public function __construct() { parent::__construct(1, 'Order for device in yours location.'); }
/** * Constructor. * * @param string $errfile * @param int $errline * @param string $errstr * @since 0.1.0 */ public function __construct($errfile, $errline, $errstr) { parent::__construct(12, $errstr, "Internal server error.", $errfile, $errline); }
/** * Constructor. * * @param long $maxSize * @since 0.1.0 */ public function __construct($maxSize) { parent::__construct(17, 'Max size for file is too large. Server limit: ' . $maxSize . '.'); }