Class Crafty_Exception

Description

Crafty_Exception class implementation

The compiler will throw this on really bad errors. Crafty itsself will handle these exceptions.

Located in /crafty/Crafty_Exceptions.class.php (line 53)

Exception
   |
   --Crafty_Exception
Direct descendents
Class Description
Crafty_Exception_Core Crafty_Exception_Core class implementation
Variable Summary
mixed $file
mixed $line
mixed $type
Method Summary
Crafty_Exception __construct (mixed $message, [mixed $file = ''], [mixed $line = -1])
string getFormattedMessage ([string $type = 'TXT'])
Variables
mixed $file (line 55)
  • access: public
mixed $line (line 56)
  • access: public
mixed $type = 'Crafty Exception' (line 57)
  • access: protected

Redefined in descendants as:
Methods
Constructor __construct (line 59)
  • access: public
Crafty_Exception __construct (mixed $message, [mixed $file = ''], [mixed $line = -1])
getFormattedMessage (line 77)

Returns a formatted error message.

Possible values for $type:

  • 'TXT'
  • 'HTML'
  • 'HTML_FULL'

  • return: The formatted error message
  • access: public
string getFormattedMessage ([string $type = 'TXT'])
  • string $type: [optional, default='TXT'] Message format type
getParsedMessage (line 104)
  • access: public
void getParsedMessage ()

Documentation generated on Sat, 19 Feb 2005 01:43:48 +0100 by phpDocumentor 1.3.0RC3