Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Exceptions

  • AjaxException
  • HttpApiV2Exception
  • MissingControllerNameException

Class HttpApiV2Exception

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.

Exception
Extended by HttpApiV2Exception
Package: Http\Exceptions
Category: System
Link: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
Located at SystemServices/Http/Exceptions/HttpApiV2Exception.inc.php

Methods summary

public
# __construct( string $message = '', integer $code = 500, Exception $previous = null )

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

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

Parameters

$message
$code
$previous

Overrides

Exception::__construct

Methods inherited from Exception

__toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

API documentation generated by ApiGen