phpBB API Documentation
Class

phpbb\controller\exception

class exception extends runtime_exception

Controller exception class

Methods

__construct(string $message = '', array $parameters = array(), Exception $previous = null, integer $code)

Constructor

from runtime_exception
array get_parameters()

Return the arguments associated with the message if it's a language var.

from runtime_exception

Details

in runtime_exception at line 38
public __construct(string $message = '', array $parameters = array(), Exception $previous = null, integer $code)

Constructor

Parameters

string $message The Exception message to throw (must be a language variable).
array $parameters The parameters to use with the language var.
Exception $previous The previous runtimeexception used for the runtimeexception chaining.
integer $code The Exception code.

in runtime_exception at line 48
public array get_parameters()

Return the arguments associated with the message if it's a language var.

Return Value

array