Gumbo_Interface_Exception



Exception Interface

The Interface adds a few extra methods to the pre-defined Exception class in PHP5.

Author(s): Michael Luster <mluster79@yahoo.com>
License:New BSD License
Copyright:Copyright (c) 2007, iBayou, Michael Luster
Link:http://sourceforge.net/projects/phpgumbo
Version:0.0.1

Interface Methods

public static void displayFile ( bool $val ) [line 49]

Displays the function information from __toString()

Parameter(s):

  • (bool) $val

[ Top ]
public static void displayFunction ( bool $val ) [line 55]

Displays the file information from __toString()

Parameter(s):

  • (bool) $val

[ Top ]
public static void displayTitle ( bool $val ) [line 43]

Displays the error title from __toString()

Parameter(s):

  • (bool) $val

[ Top ]
public static void displayTrace ( bool $val ) [line 61]

Displays the error trace information from __toString()

Parameter(s):

  • (bool) $val

[ Top ]
public string getFunction ( ) [line 103]

Returns the function / class method name


[ Top ]
public void setCode ( int $code ) [line 76]

Sets the error level code

Parameter(s):

  • (int) $code

[ Top ]
public void setFile ( string $file ) [line 82]

Sets the file name where error occured (__FILE__)

Parameter(s):

  • (string) $file

[ Top ]
public void setFunction ( string $func ) [line 94]

Sets the function or class method (__METHOD__) or (__FUNCTION__)

Parameter(s):

  • (string) $func :: function/method name

[ Top ]
public void setLine ( int $line ) [line 88]

Sets the line number where error occured (__LINE__)

Parameter(s):

  • (int) $line

[ Top ]
public void setMessage ( string $mess ) [line 70]

Sets the Message text

Parameter(s):

  • (string) $mess

[ Top ]