系统类库
[ 查看开发文档 ] [ 类树图: Library ] [ 索引: Library ] [ 所有元素 ] [ 首页 ]

Class: ErrorException

源文件路径: /Library/ErrorException.class.php

Class Overview

\
   |
   --ErrorException

错误异常处理类


Methods


Inherited Variables

Inherited Methods


Class Details

[line 8]
错误异常处理类


[ Top ]


Method Detail

export   [line 134]

void export( &$info, &$error)

  • Access: public

Parameters:

   &$info   — 
   &$error   — 

[ Top ]

onAppError   [line 76]

void onAppError( int $errno, string $errstr, string $errfile, int $errline, array $errcontext)

应用错误处理
  • Access: public

Parameters:

int   $errno   —  错误级别
string   $errstr   —  错误信息
string   $errfile   —  错误的文件
int   $errline   —  错误的所在文件行号
array   $errcontext   —  错误的上下文的符号表数组

[ Top ]

onAppException   [line 94]

void onAppException( \Exception $e)

应用异常处理
  • Access: public

Parameters:

\Exception   $e   —  异常对象

[ Top ]

onError   [line 39]

void onError( int $errno, string $errstr, string $errfile, int $errline, array $errcontext)

系统默认错误处理
  • Access: public

Parameters:

int   $errno   —  错误级别
string   $errstr   —  错误信息
string   $errfile   —  错误的文件
int   $errline   —  错误的所在文件行号
array   $errcontext   —  错误的上下文的符号表数组

[ Top ]

onException   [line 55]

void onException( \Exception $e)

系统默认异常处理
  • Access: public

Parameters:

\Exception   $e   —  异常对象

[ Top ]

report   [line 113]

void report( &$info, [ $isPrint = false])

  • Access: public

Parameters:

   &$info   — 
   $isPrint   — 

[ Top ]

setContext   [line 26]

void setContext( \Library\Application &$context)

设置上下文应用对象
  • Access: public

Parameters:

\Library\Application   &$context   — 

[ Top ]


Powered by Steeze. author email: spring.wind2006@163.com