[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/joomla/error/ -> exception.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: exception.php 14401 2010-01-26 14:10:00Z louis $
File Size: 252 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JException:: (8 methods):
  __construct()
  getMessage()
  getCode()
  getFile()
  getLine()
  getTrace()
  getTraceAsString()
  toString()


Class: JException  - X-Ref

Joomla! Exception object.

__construct( $msg, $code = 0, $level = null, $info = null, $backtrace = false )   X-Ref
Constructor
- used to set up the error with all needed error details.

param: string    $msg        The error message
param: string    $code        The error code from the application
param: int        $level        The error level (use the PHP constants E_ALL, E_NOTICE etc.).
param: string    $info        Optional: The additional error information.
param: boolean    $backtrace    True if backtrace information is to be collected

getMessage()   X-Ref
Method to get the exception message

return: string

getCode()   X-Ref
Method to get the exception code

return: integer

getFile()   X-Ref
Method to get the source filename where the exception occured

return: string

getLine()   X-Ref
Method to get the source line where the exception occured

return: integer

getTrace()   X-Ref
Method to get the array of the backtrace()

return: array backtrace

getTraceAsString( )   X-Ref
Method to get the formatted backtrace information

return: string Formated string of trace

toString()   X-Ref
Returns to error message

return: string Error message



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1