access |
public |
package |
kocuj_sitemap |
inherited_from |
\KocujIL\V12a\Classes\Exception |
Methods
Constructor
__construct(integer $code, string $file, integer $line, string $param = ''
) : void
access |
public |
inherited_from |
\KocujIL\V12a\Classes\Exception::__construct() |
Parameters
$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
Constructor
__construct(object $componentObj, integer $code, string $file, integer $line, string $param = ''
) : void
Inherited
Parameters
$componentObj
object
Component object; if empty, it will not be used in exception codes and message
$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
Returns
string
Optional argument for error message
Get errors
getErrors() : array
Inherited
Get errors data
getExceptionName() : string
Inherited
Returns
string
Exception name
Set errors data
setErrors() : void
access |
protected |
inherited_from |
\KocujIL\V12a\Classes\Exception::setErrors() |
Set errors data
setErrors() : void
Inherited
Properties
Errors data
$errors : array
Namespace prefix
$namespacePrefix : string
access |
protected |
inherited_from |
\KocujIL\V12a\Classes\Exception::namespacePrefix |
Namespace prefix
$namespacePrefix : string
Optional argument for error message
$param : array