Agile Toolkit  4.2
Agile Toolkit is a powerful web development framework. Inspired by GUI Applications development
BaseException Class Reference
Inheritance diagram for BaseException:
DBlite_exception Exception_AccessDenied Exception_DB Exception_Hook Exception_InitError Exception_Logic Exception_NotConfigured Exception_NotImplemented Exception_Stop Exception_StopInit Exception_StopRender Exception_Template IOException MailException ObsoleteException PathFinder_Exception SMliteException SQLException System_ProcessIO_Exception

Public Member Functions

 init ()
 __construct ($msg, $func=null, $shift=1, $code=0)
 collectBasicData ($func, $shift, $code)
 addMoreInfo ($key, $value)
 addThis ($t)
 addAction ($key, $descr)
 getMyTrace ()
 getAdditionalMessage ()
 getMyFile ()
 getMyLine ()
 getHTML ($message=null)
 getText ()
 getDetailedHTML ()

Data Fields

 $my_backtrace
 $shift = 0
 $name
 $owner = null
 $api = null
 $more_info = array()
 $actions

Detailed Description

BaseException is parent of all exceptions in Agile Toolkit which are meant to be for informational purposes. There are also some exceptions (StopInit) which are used for data-flow.

Learn:

Reference:


Constructor & Destructor Documentation

__construct ( msg,
func = null,
shift = 1,
code = 0 
)

Reimplemented in PathFinder_Exception, and SQLException.


Member Function Documentation

addAction ( key,
descr 
)

Actions will be displayed as links on the exception page allowing viewer to perform additional debug functions. addAction('show info',array('info'=>true)) will result in link to &info=1

addMoreInfo ( key,
value 
)

Call this to add additional information to the exception you are about to throw

addThis ( t)

Add reference to the object. Do not call this directly, exception() method takes care of that

collectBasicData ( func,
shift,
code 
)

Redefine this function to add additional HTML output

Reimplemented in DBlite_exception.

getHTML ( message = null)

Returns HTML representation of the exceptoin

Reimplemented in SQLException.

getMyFile ( )
getMyLine ( )
getText ( )

Returns Textual representaiton of the exception

init ( )

Reimplemented in Exception_Template.


Field Documentation

$actions
$api = null
$more_info = array()
$my_backtrace
$name
$owner = null
$shift = 0

The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations