phpBB API Documentation
Class

phpbb\exception\runtime_exception

class runtime_exception extends RuntimeException implements exception_interface

Class runtime_exception

Define an exception which support a language var as message.

Methods

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

Constructor

array get_parameters()

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

Details

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.

at line 48
public array get_parameters()

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

Return Value

array