PHP 클래스 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.
상속: extends Exception
파일 보기 프로젝트 열기: googleads/googleads-php-lib

공개 메소드들

메소드 설명
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.

메소드 상세

GetHttpCode() 공개 메소드

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

__construct() 공개 메소드

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