Aerys\ClientSizeException class ClientSizeException extends Aerys\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 — public final function getMessage()
No documentation.
getCode — public final function getCode()
No documentation.
getFile — public final function getFile()
No documentation.
getLine — public final function getLine()
No documentation.
getTrace — public final function getTrace()
No documentation.
getPrevious — public final function getPrevious()
No documentation.
getTraceAsString — public final function getTraceAsString()
No documentation.
__toString — public function __toString()
No documentation.