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 AjaxException

Class AjaxException

Exception
Extended by AjaxException
Package: Http\Exceptions
Category: System
Extends: Exception
Located at SystemServices/Http/Exceptions/AjaxException.php

Methods summary

public static array
# response( Exception $ex )

Returns a JSON encoded object containing the exception information.

Returns a JSON encoded object containing the exception information.

This particular exception class can pass JSON encoded information as an AJAX response, so that they can be parsed and manipulated by JavaScript.

Parameters

$ex
Contains the exception information to be returned as a response.

Returns

array
Provide this array as an argument in the JsonHttpControllerResponse object.

Methods inherited from Exception

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

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

API documentation generated by ApiGen