myException
[ class tree: myException ] [ index: myException ] [ all elements ]

Class: myException

Source Location: /myException/myException.php

Class Overview

Exception
   |
   --myException

기본 myException Class


Author(s):

Version:

  • $Id$

Copyright:

  • (c) 2018, OOPS.org

Methods


Inherited Variables

Class: Exception (Internal Class)

$code
$file
$line
$message
$previous
$string
$trace

Inherited Methods

Class: Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ], [$previous = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getPrevious ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )
__wakeup ( )

Class Details

[line 39]
기본 myException Class



Tags:

author:  JoungKyun.Kim <http://oops.org>
version:  $Id$
copyright:  (c) 2018, OOPS.org
link:  http://pear.oops.org/package/myException
example:  example
license:  BSD


[ Top ]


Class Methods


static method errStr [line 184]

static string errStr( int $errno)

PHP 에러 상수를 문자열로 반환



Tags:

access:  public


Parameters:

int   $errno   php error constants

[ Top ]

static method myErrorHandler [line 257]

static boolean myErrorHandler( int $errno, string $errstr, string $errfile, int $errline)

myException을 사용하기 위한 error handler.

이 method는 static으로 선언이 되어 있으므로, myException::myErrorHandler() 과 같이 호출해야 한다.




Tags:

access:  public


Parameters:

int   $errno   에러 코드
string   $errstr   에러 메시지
string   $errfile   에러가 발생한 파일 경로
int   $errline   에러가 발생한 라인

[ Top ]

static method myShutdownHandler [line 288]

static void myShutdownHandler( [string $func = false])

Fatal error 처리를 위한 shutdown handler

이 method는 static으로 선언이 되어 있으므로, myException::myShutdownHandler() 와 같이 호출해야 한다.




Tags:

since:  1.0.1
access:  public


Parameters:

string   $func   (optional) callback function

[ Top ]

constructor __construct [line 67]

void __construct( string $message, [string $code = 0], [Exception $prev = null])

myException class 초기화



Tags:

access:  public


Overrides Exception::constructor __construct ( [$message = ], [$code = ], [$previous = ] ) (parent method not documented)

Parameters:

string   $message   에러 메시지
string   $code   에러 코드
string   $prev   이전 예외 배열

[ Top ]

method finalize [line 231]

void finalize( )

E_ERROR 또는 E_USER_ERROR 시에 php를 중지 시킨다.



Tags:

access:  public


[ Top ]

method Message [line 116]

string Message( void 0)

Exception 에러 메시지를 PHP 에러 메시지 형식으로 반환



Tags:

access:  public


Parameters:

void   0  

[ Top ]

method Previous [line 86]

Exception Previous( void 0)

__construct method의 3번째 인자값인 previous exception을 반환



Tags:

return:  prevous exception
access:  public


Parameters:

void   0  

[ Top ]

method Trace [line 99]

array Trace( void 0)

Exception 스택을 배열로 반환



Tags:

return:  Exception 스택을 배열로 반환
access:  public


Parameters:

void   0  

[ Top ]

method TraceAsArray [line 159]

array TraceAsArray( void 0)

Exception 스택 trace를 배열로 반환



Tags:

access:  public


Parameters:

void   0  

[ Top ]

method TraceAsString [line 141]

string TraceAsString( void 0)

Exception 스택 trace를 문자열로 반환



Tags:

access:  public


Parameters:

void   0  

[ Top ]


Documentation generated on Tue, 14 May 2019 02:00:36 +0900 by phpDocumentor 1.4.4