com.lokorin.lokorin.lib
[ class tree: com.lokorin.lokorin.lib ] [ index: com.lokorin.lokorin.lib ] [ all elements ]

Procedural File: lib_errors.php

Source Location: /_includes/lib_errors.php



Classes:

NoSuchElementException
An exception used when an element that was searched for could not be found.
IOException
An exception used when an error occurs while performing an IO operation.
FileNotFoundException
An exception used when an error occurs while performing an IO operation because of that a file was not found.
IllegalArgumentException
An exception used when an error occurs as a result of invalid input arguments to a function.
IllegalStateException
An exception used when an error occurs as a result of invalid state.
UrlNotFoundException
An exception used when an error occurs as a result of an invalid url being requested.


Page Details:

A library that contains everything that is connected to errors.



Tags:

filesource:  Source Code for this file
license:  GNU Lesser General Public License
version:  $Revision: 1.10 $
author:  Andreas Launila


Includes:

require_once('common.php') [line 18]
For access to common constants and functions.







insertError [line 27]

void insertError( string $message, [string $url = ''])

Inserts and error into the error table in the database.



Tags:

access:  public


Parameters

string   $message   The error message.
string   $url   The URL where the error occured, the current url is used by default.
[ Top ]



logException [line 55]

void logException( string $exception)

Logs an exception, providing information about the current state. The script then continues on.



Tags:

access:  public


Parameters

string   $exception   The exception that should be logged.
[ Top ]



logFatalException [line 66]

void logFatalException( string $exception)

Logs a fatal exception, providing information about the current state.

The exception is fatal so the script immidiatly dies after logging it.




Tags:

access:  public


Parameters

string   $exception   The exception that should be logged.
[ Top ]



Documentation generated on Sun, 16 Apr 2006 21:03:21 +0200 by phpDocumentor 1.3.0RC4