Aerys\ClientSizeException classClientSizeException extendsAerys\ClientException

~~~~~~~~~~~~~~~ WARNING ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This class is strictly for internal Aerys use! Do NOT throw it in userspace code or you risk breaking things.


ClientSizeException indicates that the requesting client has exceeded size
limits and the connection is going to be closed (except if caught and size
increased).
It probably is still connected and able to receive data on the outgoing stream.

As this is a ClientException:
Applications may optionally catch this exception in their callable actions
to continue other processing. Users are NOT required to catch it and if left
uncaught it will simply end responder execution.

Additionally, one can catch it and try to continue with bigger size limits.

If this exception is thrown back into the server handler, a 413 - Request
entity too large response will be generated if response hasn't started yet.

Summary

Properties

Methods

Properties

$message —protected $message =''
No documentation.
$code —protected $code =0
No documentation.
$file —protected $file =null
No documentation.
$line —protected $line =null
No documentation.

Methods

__construct —public function__construct($message,$code,$previous)
No documentation.
Type Parameter Description Default Value
mixed $message No documentation. none
mixed $code No documentation. none
mixed $previous No documentation. none
__wakeup —public function__wakeup()
No documentation.
getMessage —publicfinal functiongetMessage()
No documentation.
getCode —publicfinal functiongetCode()
No documentation.
getFile —publicfinal functiongetFile()
No documentation.
getLine —publicfinal functiongetLine()
No documentation.
getTrace —publicfinal functiongetTrace()
No documentation.
getPrevious —publicfinal functiongetPrevious()
No documentation.
getTraceAsString —publicfinal functiongetTraceAsString()
No documentation.
__toString —public function__toString()
No documentation.