Class AjaxException
category |
System |
---|---|
package |
Http |
subpackage |
Exceptions |
extends |
Exception |
response(\Exception $ex) : array
This particular exception class can pass JSON encoded information as an AJAX response, so that they can be parsed and manipulated by JavaScript.
\Exception
Contains the exception information to be returned as a response.
array
Provide this array as an argument in the JsonHttpControllerResponse object.