ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilSystemStyleExceptionBase.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
24
abstract
class
ilSystemStyleExceptionBase
extends
ilException
25
{
29
protected
$message
=
''
;
30
34
protected
$code
= -1;
35
36
protected
string
$add_info
=
''
;
37
38
public
function
__construct
(
int
$exception_code = -1,
string
$exception_info =
''
)
39
{
40
$this->code = $exception_code;
41
$this->add_info = $exception_info;
42
$this->
assignMessageToCode
();
43
parent::__construct
($this->message, $this->code);
44
}
45
46
abstract
protected
function
assignMessageToCode
(): void;
47
48
public
function
__toString
(): string
49
{
50
return
get_class($this) .
" '$this->message' in $this->file($this->line)\n"
51
.
"{$this->getTraceAsString()}"
;
52
}
53
}
ilException
ilSystemStyleExceptionBase\assignMessageToCode
assignMessageToCode()
ilSystemStyleExceptionBase\__construct
__construct(int $exception_code=-1, string $exception_info='')
Definition:
class.ilSystemStyleExceptionBase.php:38
ilSystemStyleExceptionBase\__toString
__toString()
Definition:
class.ilSystemStyleExceptionBase.php:48
ILIAS\MetaData\Repository\Validation\Data\__construct
__construct(VocabulariesInterface $vocabularies)
Definition:
VocabularyBridge.php:31
ilSystemStyleExceptionBase\$add_info
string $add_info
Definition:
class.ilSystemStyleExceptionBase.php:36
ilSystemStyleExceptionBase\$code
$code
Definition:
class.ilSystemStyleExceptionBase.php:34
ilSystemStyleExceptionBase\$message
$message
Definition:
class.ilSystemStyleExceptionBase.php:29
ilSystemStyleExceptionBase
Class for advanced editing exception handling in ILIAS.
Definition:
class.ilSystemStyleExceptionBase.php:24
Services
Style
System
classes
Exceptions
class.ilSystemStyleExceptionBase.php
Generated on Wed Sep 10 2025 14:11:57 for ILIAS by
1.8.13 (using
Doxyfile
)