<?php
/**
 * Block SQLi Exception
 *
 * @package VMPFence
 * @since 2.0.0
 */

// Prevent direct access
if (!defined('ABSPATH')) {
    exit;
}

/**
 * Exception thrown when SQL injection attack detected
 * Allows custom SQLi-specific block page
 */
class VMPFence_Block_SQLi_Exception extends VMPFence_Block_Exception {
    
    /**
     * Constructor
     *
     * @param string $message Exception message
     * @param int $code Exception code
     * @param Exception $previous Previous exception
     */
    public function __construct($message = 'SQL injection attack blocked', $code = 0, Exception $previous = null) {
        parent::__construct($message, $code, $previous);
    }
}
