New feature for Gulliver framework to support Controllers & HttpProxyController classes handling
This commit is contained in:
17
gulliver/system/class.pmException.php
Normal file
17
gulliver/system/class.pmException.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* HttpProxyController
|
||||
* @author Erik Amaru Ortiz <erik@colosa.com, aortiz.erik@gmail.com>
|
||||
* @package gulliver.system
|
||||
* @access public
|
||||
*/
|
||||
class PMException extends Exception
|
||||
{
|
||||
public function __construct($message, $code = 0, $previous = null) {
|
||||
parent::__construct($message, 1, $previous);
|
||||
}
|
||||
|
||||
public function __toString() {
|
||||
return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user