Ubiquity  2.0.3
php rapid development framework
UbiquityException.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Ubiquity\exceptions;
4 
5 
6 class UbiquityException extends \Exception{
7  public function __construct($message=null,$code=null,$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=null, $previous=null)