phpDocumentor

HttpApiV2Exception extends Exception
in package

Class HttpApiException

This exception class is used for handling exceptions that concern the API execution. The default exception code is set to 500 (Internal Server Error) and must explicitly set to any other standard HTTP status code in order to be contained in the response headers.

Tags
link
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
category

System

subpackage

Exceptions

Table of Contents

__construct()  : mixed
Constructor with default code argument value set to 500 (Internal server error).

Methods

__construct()

Constructor with default code argument value set to 500 (Internal server error).

public __construct([string $message = '' ][, int $code = 500 ][, Exception $previous = null ]) : mixed
Parameters
$message : string = ''
$code : int = 500
$previous : Exception = null
Return values
mixed

Search results