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

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

/**
 * Exception thrown when XSS attack detected
 * Allows custom XSS-specific block page
 */
class VMPFence_Block_XSS_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 = 'XSS attack blocked', $code = 0, Exception $previous = null) {
        parent::__construct($message, $code, $previous);
    }
}
