35 lines
769 B
PHP
35 lines
769 B
PHP
<?php
|
|
/*
|
|
* This file is part of the sfAssetsLibrary package.
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
/**
|
|
* sfAssetsException
|
|
* Model exceptions for the sfAssetsLibrary plugin
|
|
*
|
|
* @author Magénération
|
|
*/
|
|
class sfAssetException extends sfException
|
|
{
|
|
protected $message_params = array();
|
|
|
|
public function __construct($message = null, $message_params = array(), $code = 0)
|
|
{
|
|
$this->setMessageParams($message_params);
|
|
parent::__construct($message, $code);
|
|
}
|
|
|
|
public function setMessageParams($message_params)
|
|
{
|
|
$this->message_params = $message_params;
|
|
}
|
|
|
|
public function getMessageParams()
|
|
{
|
|
return $this->message_params;
|
|
}
|
|
}
|