Update doc blocks for all app/
This commit is contained in:
parent
5e27772fef
commit
0312c974f5
114 changed files with 1360 additions and 949 deletions
|
@ -28,20 +28,19 @@ use Log;
|
|||
|
||||
class DisplayException extends \Exception
|
||||
{
|
||||
private $_logging = null;
|
||||
|
||||
/**
|
||||
* Exception constructor.
|
||||
*
|
||||
* @param string $message
|
||||
* @param mixed $log
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($message, $log = null)
|
||||
{
|
||||
$this->_logging = $log;
|
||||
if ($this->_logging !== null) {
|
||||
if (! is_null($log)) {
|
||||
Log::error($log);
|
||||
}
|
||||
|
||||
parent::__construct($message);
|
||||
}
|
||||
|
||||
public function getLogging()
|
||||
{
|
||||
return $this->_logging;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue