Exception class

access public
package kocuj_internal_lib\kocuj_pl_lib
inherited_from \KocujIL\V12a\Classes\Exception

 Methods

Constructor

__construct(object $componentObj, integer $code, string $file, integer $line, string $param = '') : void
Inherited
access public

Parameters

$componentObj

object

Component object; if empty, it will not be used in exception codes and message

$code

integer

Error code

$file

string

Filename where there was an error; should be set to __FILE__ during throwing an exception

$line

integer

Line number where there was an error; should be set to __LINE__ during throwing an exception

$param

string

Optional argument for error message - default: empty

Get optional argument for error message

getParam() : string
Inherited
access public

Returns

stringOptional argument for error message

 Properties