update : 2015.11.03
php.shukuma.com

검색:
 
 
Send exception for running job (deprecated)

GearmanJob::exception

(PECL gearman <= 0.5.0)

GearmanJob::exceptionSend exception for running job (deprecated)

설명

public bool GearmanJob::exception ( string $exception )

Sends the supplied exception when this job is running.

Note:

This method has been replaced by GearmanJob::sendException() in the 0.6.0 release of the Gearman extension.

인수

exception

An exception description.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.

참고