Class ExceptionInSylar

Description

ReDefine a custom exception class for Sylar system

  • copyright: Sylar Development Team
  • author: Gianluca Giusti [brdp] <g.giusti@giano-solutions.com>
  • since: 12-2004
  • version: 1.0
  • todo: To be done!

Located in /sylar/classes/common/system/ExceptionInSylar.php (line 40)

Exception
   |
   --ExceptionInSylar
Method Summary
 ExceptionInSylar __construct (mixed $message, mixed $code)
 string getMessageForLog ()
 void logException ()
 void __toString ()
Methods
Constructor __construct (line 45)

Redefine the exception so message isn't optional

  • access: public
ExceptionInSylar __construct (mixed $message, mixed $code)
getMessageForLog (line 63)

format the exception description for storage in Log

  • access: public
  • todo: to be done
string getMessageForLog ()
logException (line 83)

it logs directly the exceptions with Logger

  • access: public
void logException ()
__toString (line 90)

custom string representation of object

  • access: public
void __toString ()

Documentation generated on Thu, 24 Apr 2008 16:14:14 +0200 by phpDocumentor 1.3.0RC3