Quinoa
[ class tree: Quinoa ] [ index: Quinoa ] [ all elements ]

Class: Quinoa_Error

Source Location: /Quinoa/Error.php

Class Overview

Exception
   |
   --Quinoa_Error

Quinoa Error class.


Author(s):

Version:

  • 0.0.21 2007-09-23

Copyright:

  • 2007

Methods



Class Details

[line 49]
Quinoa Error class.

Quinoa Error class. Quinoa_Error is an generic Exception class that based on the settings of the config.xml of the project display a message along with the error trace for debug purposes. It is shut off with the $CONFIG->DEBUG_LEVEL turn to deployment. In that case it sends the errors over by mail to the email configured to receive the messages PHP version 5.x Copyright (c) 2007, Freeconcept, Lda. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Freeconcept, Lda. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.




Tags:

since:  File available since Release 0.0.1
link:  http://www.quinoaframework.org
version:  0.0.21 2007-09-23
copyright:  2007
author:  Marcello Duarte <marcello.duarte@gmail.com>


[ Top ]


Class Methods


constructor __construct [line 57]

Quinoa_Error __construct( [string $Error = "0"], [array $params = array()])

Constructs the Quinoa_Error object

Constructs the Quinoa_Error object




Tags:

access:  public


Parameters:

string   $Error  
array   $params  

[ Top ]

method throwException [line 79]

void throwException( Exception $Error)

Checks the project debugging level display the error page accordingly.

Checks the project debugging level display the error page accordingly.




Tags:

access:  public


Parameters:

Exception   $Error  

[ Top ]


Documentation generated on Wed, 03 Oct 2007 14:25:33 +0100 by phpDocumentor 1.3.0RC3