<?php /** * @package Joomla.Legacy * @subpackage Exception * * @copyright (C) 2007 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('JPATH_PLATFORM') or die; /** * Joomla! Exception object. * * @since 1.5 * @deprecated 1.7 */ class JException extends Exception { /** * Error level. * * @var string * @since 1.5 * @deprecated 1.7 */ protected $level = null; /** * Error code. * * @var string * @since 1.5 * @deprecated 1.7 */ protected $code = null; /** * Error message. *
/** * Special case to deal with Fatal errors and the like. */ public function handleShutdown() { // If we reached this step, we are in shutdown handler. // An exception thrown in a shutdown handler will not be propagated // to the exception handler. Pass that information along. $this->canThrowExceptions = false; $error = $this->system->getLastError(); if ($error && Misc::isLevelFatal($error['type'])) { // If there was a fatal error, // it was not handled in handleError yet. $this->allowQuit = false; $this->handleError( $error['type'], $error['message'], $error['file'], $error['line'] ); } } /** * In certain scenarios, like in shutdown handler, we can not throw exceptions * @var bool */ private $canThrowExceptions = true; /** * Echo something to the browser * @param string $output * @return $this */ private function writeToOutputNow($output) { if ($this->sendHttpCode() && \Whoops\Util\Misc::canSendHeaders()) { $this->system->setHttpResponseCode( $this->sendHttpCode()
} // Propagate error to the next handler. if ($this->platformExceptionHandler) { call_user_func_array($this->platformExceptionHandler, [&$exception]); } } /** * Special case to deal with Fatal errors and the like. */ public function handleShutdown() { $handler = $this->whoopsShutdownHandler; $error = $this->getLastError(); // Ignore core warnings and errors. if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) { $handler(); } } }
Key | Value |
format | feed |
Key | Value |
joomla | TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjo0OntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMTcxMTM5MztzOjQ6Imxhc3QiO2k6MTcxMTcxMTM5MztzOjM6Im5vdyI7aToxNzExNzExMzkzO31zOjY6ImNsaWVudCI7Tzo4OiJzdGRDbGFzcyI6MTp7czo5OiJmb3J3YXJkZWQiO3M6MTM6IjE4LjIwNy4xMDQuODciO319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fXM6MjU6InBsZ19zeXN0ZW1fbGFuZ3VhZ2VmaWx0ZXIiO086ODoic3RkQ2xhc3MiOjE6e3M6ODoibGFuZ3VhZ2UiO3M6NToiaHItSFIiO319fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ== |
Key | Value |
CONTEXT_DOCUMENT_ROOT | /home/sgcaton/public_html |
CONTEXT_PREFIX | |
DOCUMENT_ROOT | /home/sgcaton/public_html |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
HTTP_ACCEPT | */* |
HTTP_AUTHORIZATION | |
HTTP_HOST | sgc-aton.hr |
HTTP_USER_AGENT | claudebot |
HTTP_X_FORWARDED_FOR | 18.207.104.87 |
HTTP_X_FORWARDED_HOST | sgc-aton.hr |
HTTP_X_FORWARDED_PORT | 443 |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_FORWARDED_SERVER | sgc-aton.hr |
HTTP_X_HTTPS | 1 |
HTTP_X_REAL_IP | 18.207.104.87 |
PATH | /bin:/usr/bin |
QUERY_STRING | format=feed |
REDIRECT_HTTPS | on |
REDIRECT_HTTP_AUTHORIZATION | |
REDIRECT_QUERY_STRING | format=feed |
REDIRECT_SCRIPT_URI | https://sgc-aton.hr/hr/sadrzaj/9 |
REDIRECT_SCRIPT_URL | /hr/sadrzaj/9 |
REDIRECT_STATUS | 200 |
REDIRECT_UNIQUE_ID | ZgakoVszwLpNUaq9rMQAGQAAAEQ |
REDIRECT_URL | /hr/sadrzaj/9 |
REDIRECT_isproxyrequest | 1 |
REMOTE_ADDR | 18.207.104.87 |
REMOTE_PORT | 53308 |
REQUEST_METHOD | GET |
REQUEST_SCHEME | https |
REQUEST_URI | /hr/sadrzaj/9?format=feed |
SCRIPT_FILENAME | /home/sgcaton/public_html/index.php |
SCRIPT_NAME | /index.php |
SCRIPT_URI | https://sgc-aton.hr/hr/sadrzaj/9 |
SCRIPT_URL | /hr/sadrzaj/9 |
SERVER_ADDR | 195.29.178.8 |
SERVER_ADMIN | webmaster@sgc-aton.hr |
SERVER_NAME | sgc-aton.hr |
SERVER_PORT | 443 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
TZ | Europe/Zagreb |
UNIQUE_ID | ZgakoVszwLpNUaq9rMQAGQAAAEQ |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711393.1795 |
REQUEST_TIME | 1711711393 |