PHP 클래스 PHPUnit_Framework_ExceptionWrapper, phpunit

Re-instantiates Exceptions thrown by user-space code to retain their original class names, properties, and stack traces (but without arguments). Unlike PHPUnit_Framework_Exception, the complete stack of previous Exceptions is processed.
저자: Daniel F. Kudwien ([email protected])
상속: extends PHPUnit_Framework_Exception
파일 보기 프로젝트 열기: sebastianbergmann/phpunit 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$classname string
$previous PHPUnit_Framework_ExceptionWrapper | null

공개 메소드들

메소드 설명
__construct ( Throwable $t )
__toString ( ) : string
getClassname ( ) : string
getPreviousWrapped ( ) : PHPUnit_Framework_ExceptionWrapper

메소드 상세

__construct() 공개 메소드

public __construct ( Throwable $t )
$t Throwable

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

getClassname() 공개 메소드

public getClassname ( ) : string
리턴 string

getPreviousWrapped() 공개 메소드

public getPreviousWrapped ( ) : PHPUnit_Framework_ExceptionWrapper
리턴 PHPUnit_Framework_ExceptionWrapper

프로퍼티 상세

$classname 보호되어 있는 프로퍼티

protected string $classname
리턴 string

$previous 보호되어 있는 프로퍼티

protected PHPUnit_Framework_ExceptionWrapper|null $previous
리턴 PHPUnit_Framework_ExceptionWrapper | null