JEMBOT MAWOT Bypass Shell

Current Path : /home/cinepatreb/billetterie/modules/mollie/src/Infrastructure/Exception/
Upload File :
Current File : /home/cinepatreb/billetterie/modules/mollie/src/Infrastructure/Exception/CouldNotHandleLocking.php

<?php
/**
 * Mollie       https://www.mollie.nl
 *
 * @author      Mollie B.V. <info@mollie.nl>
 * @copyright   Mollie B.V.
 * @license     https://github.com/mollie/PrestaShop/blob/master/LICENSE.md
 *
 * @see        https://github.com/mollie/PrestaShop
 * @codingStandardsIgnoreStart
 */

namespace Mollie\Infrastructure\Exception;

use Mollie\Exception\Code\ExceptionCode;
use Mollie\Exception\MollieException;

if (!defined('_PS_VERSION_')) {
    exit;
}

class CouldNotHandleLocking extends MollieException
{
    public static function lockExists(): self
    {
        return new self(
            'Lock exists',
            ExceptionCode::INFRASTRUCTURE_LOCK_EXISTS
        );
    }

    public static function lockOnAcquireIsMissing(): self
    {
        return new self(
            'Lock on acquire is missing',
            ExceptionCode::INFRASTRUCTURE_LOCK_ON_ACQUIRE_IS_MISSING
        );
    }

    public static function lockOnReleaseIsMissing(): self
    {
        return new self(
            'Lock on release is missing',
            ExceptionCode::INFRASTRUCTURE_LOCK_ON_RELEASE_IS_MISSING
        );
    }
}

xxxxx1.0, XXX xxxx