Welcome, Guest Log In

Class Krai_Exception

Class Overview

Framework base exception

This is an exception for Krai, and the exception from which any other in the framework is derived.

Located in /Krai/Exception.php [line 18]

Exception
   |
   --Krai_Exception

Properties

Methods

[ Top ]
Descendants
Child Class Description
Krai_Module_Exception Framework module handler exception
Krai_Module_Exception_Adone Framework action done exception
Krai_Module_Exception_Mdone Framework module done exception
Krai_Router_Exception Router exception
Krai_Db_Exception Database query exception
Krai_Cache_Exception An exception relating to caching
Krai_Mail_Exception Mail exception class
Krai_Markup_Exception Markup generator exception
Krai_Struct_Exception An exception relating to structs
UserException Represents an exception in the User class

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Exception (Internal Class)

$code
$file
$line
$message
$string
$trace

Inherited From Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )

[ Top ]
Property Summary
array   $Errors   Holds an array of errors

[ Top ]
Method Summary
Krai_Exception   __construct()   Constructor

[ Top ]
Properties
array   $Errors = array() [line 27]

Holds an array of errors

This holds the error message(s) that are passed to the constructor.

API Tags:
Access:  public


[ Top ]
Methods
Constructor __construct  [line 38]

  Krai_Exception __construct( mixed $message, [integer $code = 0]  )

Constructor

This initializes the exception and records the error messages and code

Parameters:
mixed   $message:  A string error message or an array of string error messages
integer   $code:  The error code

API Tags:
Access:  public


Redefinition of:
Exception::constructor __construct ( [$message = ], [$code = ] )

Redefined in descendants as:

[ Top ]

Documentation generated on Fri, 25 Jul 2008 15:19:16 -0400 by phpDocumentor 1.4.2
Krai Framework site admin credits sitemap valid xhtml?