public function __construct($message = null, $method, $code = 0) { $this->method = $method; parent::__construct($message, $code); }
/** * Creates a new app_PageNotFoundException instance * @access public * @param string $controller The name of the controller being called * @param string $method The name of the method being called */ public function __construct($_ = null) { parent::__construct('Usage Error: Command malformed'); }
/** * Creates a new exception_ClassNotFound instance * @access public * @param string $message The message to be displayed to the user * @param string $className The name of the class that was not found * @param integer $code A code representation of the error */ public function __construct($message = null, $className, $code = 0) { $this->className = $className; parent::__construct($message, $code); }
/** * Creates a new app_PageNotFoundException instance * @access public * @param string $controller The name of the controller being called * @param string $method The name of the method being called */ public function __construct($_ = null) { parent::__construct('ERROR 404: Page Not Found'); }