Files
grzanieplus.pl/plugins/sfWebBrowserPlugin/lib/sfWebBrowserInvalidResponseException.class.php
2025-03-12 17:06:23 +01:00

26 lines
594 B
PHP

<?php
/**
* This exception is thrown when response sent to browser is not in a valid format.
*
* @package sfWebBrowserPlugin
* @author Tristan Rivoallan <tristan@rivoallan.net>
*/
class sfWebBrowserInvalidResponseException extends sfException
{
/**
* Class constructor.
*
* @param string The error message
* @param int The error code
*/
public function __construct($message = null, $code = 0)
{
if(method_exists($this, 'setName'))
{
$this->setName('sfWebBrowserInvalidResponseException');
}
parent::__construct($message, $code);
}
}