PHP 클래스 SimpleSAML_Error_NotFound, simplesamlphp

This exception can be thrown from within a module page handler. The user will then be shown a 404 Not Found error page.
저자: Olav Morken, UNINETT AS.
상속: extends SimpleSAML_Error_Error
파일 보기 프로젝트 열기: simplesamlphp/simplesamlphp

공개 메소드들

메소드 설명
__construct ( string $reason = NULL ) Create a new NotFound error
format ( boolean $anonymize = false ) : array NotFound exceptions don't need to display a backtrace, as they are very simple and the trace is usually trivial, so just log the message without any backtrace at all.
getReason ( ) : string | null Retrieve the reason why the given page could not be found.

메소드 상세

__construct() 공개 메소드

Create a new NotFound error
public __construct ( string $reason = NULL )
$reason string Optional description of why the given page could not be found.

format() 공개 메소드

NotFound exceptions don't need to display a backtrace, as they are very simple and the trace is usually trivial, so just log the message without any backtrace at all.
public format ( boolean $anonymize = false ) : array
$anonymize boolean Whether to anonymize the trace or not.
리턴 array

getReason() 공개 메소드

Retrieve the reason why the given page could not be found.
public getReason ( ) : string | null
리턴 string | null The reason why the page could not be found.