New feature for Gulliver framework to support Controllers & HttpProxyController classes handling

This commit is contained in:
Erik Amaru Ortiz
2011-02-26 17:15:50 +00:00
parent d724c9041b
commit 186c341d16
7 changed files with 297 additions and 17 deletions

View 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";
}
}