PHP Class ReportDownloadException, googleads-php-lib

PHP version 5 Copyright 2015, Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Inheritance: extends Exception
ファイルを表示 Open project: googleads/googleads-php-lib

Public Methods

Method Description
GetHttpCode ( ) : integer | null Gets the HTTP status code of the response.
__construct ( string $error, integer | null $httpCode = null ) Creates an instance of ReportDownloadException holding the HTTP status code that causes this exception.

Method Details

GetHttpCode() public method

Gets the HTTP status code of the response.
public GetHttpCode ( ) : integer | null
return integer | null the HTTP status code

__construct() public method

Creates an instance of ReportDownloadException holding the HTTP status code that causes this exception.
public __construct ( string $error, integer | null $httpCode = null )
$error string an error message
$httpCode integer | null an HTTP status code of the response