Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
UbiquityException.php
Go to the documentation of this file.
1<?php
2
3namespace Ubiquity\exceptions;
4
5
6class UbiquityException extends \Exception{
7 public function __construct($message=null,$code=0,$previous=null){
8 parent::__construct($message, $code, $previous);
9 }
10
11 public function __toString(){
12 return \get_class($this) . " '{$this->message}' in {$this->file}({$this->line})\n"
13 . "{$this->getTraceAsString()}";
14 }
15}
__construct($message=null, $code=0, $previous=null)