Gumbo PHP Library API Documentation
Error
[
class tree
] [
index
] [
all elements
]
Todo List
Packages:
Buffer
Collection
Composite
Config
Converter
Curl
Date
DB
Debug
Encryption
Error
Factory
Filter
Flyweight
Http
Input
Iterator
List
Load
Lockable
Log
Map
Number
Observer
Output
Query
Record
Router
Session
Setting
Singleton
Template
Timer
Utility
Valid
Source for file Exception.class.php
Documentation is available at
Exception.class.php
<?php
/**
* Gumbo Library Framework
*
* LICENSE
* This library is being released under the terms of the New BSD License. A
* copy of the license is packaged with the software (LICENSE.txt). If no
* copy is found, a copy of the license template can be found at:
* http://www.opensource.org/licenses/bsd-license.php
*
*
@category
Gumbo
*
@package
Error
*
@copyright
Copyright (c) 2007, iBayou, Michael Luster
*
@license
http://www.opensource.org/licenses/bsd-license.php New BSD License
*
@author
Michael Luster <mluster79@yahoo.com>
*
@link
http://sourceforge.net/projects/phpgumbo
*
@version
0.0.1
*/
/**
* Exception Interface
*
* The Interface adds a few extra methods to the pre-defined Exception class
* in PHP5.
*
*
@category
Gumbo
*
@package
Error
*
@copyright
Copyright (c) 2007, iBayou, Michael Luster
*
@license
http://www.opensource.org/licenses/bsd-license.php New BSD License
*
@author
Michael Luster <mluster79@yahoo.com>
*
@link
http://sourceforge.net/projects/phpgumbo
*
@desc
Exception Interface
*
@version
0.0.1
*/
interface
Gumbo_Interface_Exception
{
/** ACTION METHODS **/
/**
* Displays the error title from __toString()
*
@param
bool
$val
*/
public
static
function
displayTitle
(
$val
)
;
/**
* Displays the function information from __toString()
*
@param
bool
$val
*/
public
static
function
displayFile
(
$val
)
;
/**
* Displays the file information from __toString()
*
@param
bool
$val
*/
public
static
function
displayFunction
(
$val
)
;
/**
* Displays the error trace information from __toString()
*
@param
bool
$val
*/
public
static
function
displayTrace
(
$val
)
;
/** MUTATOR METHODS **/
/**
* Sets the Message text
*
@param
string
$mess
*/
public
function
setMessage
(
$mess
)
;
/**
* Sets the error level code
*
@param
int
$code
*/
public
function
setCode
(
$code
)
;
/**
* Sets the file name where error occured (__FILE__)
*
@param
string
$file
*/
public
function
setFile
(
$file
)
;
/**
* Sets the line number where error occured (__LINE__)
*
@param
int
$line
*/
public
function
setLine
(
$line
)
;
/**
* Sets the function or class method (__METHOD__) or (__FUNCTION__)
*
@param
string
$func
function/method name
*/
public
function
setFunction
(
$func
)
;
/** ACCESSOR METHOD **/
/**
* Returns the function / class method name
*
@return
string
*/
public
function
getFunction
(
)
;
}
?>