PHP Класс Google\Cloud\Exception\ServiceException

Наследование: extends GoogleException
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $message, integer $code = null, Exception $serviceException = null ) Handle previous exceptions differently here.
getServiceException ( ) : Exception Return the service exception object.
hasServiceException ( ) : boolean If $serviceException is set, return true.

Описание методов

__construct() публичный метод

Handle previous exceptions differently here.
public __construct ( string $message, integer $code = null, Exception $serviceException = null )
$message string
$code integer
$serviceException Exception

getServiceException() публичный метод

Return the service exception object.
public getServiceException ( ) : Exception
Результат Exception

hasServiceException() публичный метод

If $serviceException is set, return true.
public hasServiceException ( ) : boolean
Результат boolean