2010-03-07 19:54:09 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @copyright NetMonsters <team@netmonsters.ru>
|
|
|
|
* @link http://netmonsters.ru
|
|
|
|
* @package Majestic
|
|
|
|
* @subpackage Layout
|
|
|
|
* @since 2010-02-25
|
|
|
|
*/
|
|
|
|
|
|
|
|
class ErrorLayout extends Layout
|
|
|
|
{
|
2012-06-04 16:09:45 +04:00
|
|
|
/**
|
|
|
|
* @var GeneralException
|
|
|
|
*/
|
|
|
|
protected $exception;
|
|
|
|
|
|
|
|
protected function execute()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2012-10-04 19:41:42 +04:00
|
|
|
* @param Exception $exception
|
2012-06-04 16:09:45 +04:00
|
|
|
*/
|
2012-10-04 19:41:42 +04:00
|
|
|
public function setException(Exception $exception)
|
2012-06-04 16:09:45 +04:00
|
|
|
{
|
|
|
|
$this->exception = $exception;
|
|
|
|
}
|
2010-03-07 19:54:09 +00:00
|
|
|
}
|