PHP Class Google\Cloud\Exception\ServiceException

Inheritance: extends GoogleException
Afficher le fichier Open project: GoogleCloudPlatform/gcloud-php Class Usage Examples

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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

getServiceException() public méthode

Return the service exception object.
public getServiceException ( ) : Exception
Résultat Exception

hasServiceException() public méthode

If $serviceException is set, return true.
public hasServiceException ( ) : boolean
Résultat boolean