<?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 |
joomla | TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjo0OntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMTcxMTMwODtzOjQ6Imxhc3QiO2k6MTcxMTcxMTMwODtzOjM6Im5vdyI7aToxNzExNzExMzA4O31zOjY6ImNsaWVudCI7Tzo4OiJzdGRDbGFzcyI6MTp7czo5OiJmb3J3YXJkZWQiO3M6MTI6IjU0LjE0NS4xMi4yOCI7fX1zOjg6InJlZ2lzdHJ5IjtPOjI0OiJKb29tbGFcUmVnaXN0cnlcUmVnaXN0cnkiOjM6e3M6NzoiACoAZGF0YSI7Tzo4OiJzdGRDbGFzcyI6MDp7fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fXM6NDoidXNlciI7TzoyMDoiSm9vbWxhXENNU1xVc2VyXFVzZXIiOjE6e3M6MjoiaWQiO2k6MDt9czoyNToicGxnX3N5c3RlbV9sYW5ndWFnZWZpbHRlciI7Tzo4OiJzdGRDbGFzcyI6MTp7czo4OiJsYW5ndWFnZSI7czo1OiJoci1IUiI7fX19czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9 |
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 | 54.145.12.28 |
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 | 54.145.12.28 |
PATH | /bin:/usr/bin |
QUERY_STRING | |
REDIRECT_HTTPS | on |
REDIRECT_HTTP_AUTHORIZATION | |
REDIRECT_SCRIPT_URI | https://sgc-aton.hr/hr/oznaka/sareni-slon |
REDIRECT_SCRIPT_URL | /hr/oznaka/sareni-slon |
REDIRECT_STATUS | 200 |
REDIRECT_UNIQUE_ID | ZgakTFszwLpNUaq9rMT8SQAAAEI |
REDIRECT_URL | /hr/oznaka/sareni-slon |
REDIRECT_isproxyrequest | 1 |
REMOTE_ADDR | 54.145.12.28 |
REMOTE_PORT | 52522 |
REQUEST_METHOD | GET |
REQUEST_SCHEME | https |
REQUEST_URI | /hr/oznaka/sareni-slon |
SCRIPT_FILENAME | /home/sgcaton/public_html/index.php |
SCRIPT_NAME | /index.php |
SCRIPT_URI | https://sgc-aton.hr/hr/oznaka/sareni-slon |
SCRIPT_URL | /hr/oznaka/sareni-slon |
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 | ZgakTFszwLpNUaq9rMT8SQAAAEI |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711308.77 |
REQUEST_TIME | 1711711308 |