Completed
Push — master ( 08c314...daca94 )
by Jean-Christophe
01:29
created

UbiquityException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 3
1
<?php
2
3
namespace micro\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
}