ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilSystemStyleExceptionBase.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/Exceptions/classes/class.ilException.php'
;
5
13
abstract
class
ilSystemStyleExceptionBase
extends
ilException
14
{
15
const
UNKNONW_EXCEPTION
= -1;
16
20
protected
$message
=
""
;
21
25
protected
$code
= -1;
26
30
protected
$add_info
=
""
;
31
37
public
function
__construct
($exception_code = -1, $exception_info =
""
)
38
{
39
$this->code = $exception_code;
40
$this->add_info = $exception_info;
41
$this->
assignMessageToCode
();
42
parent::__construct($this->message, $this->code);
43
}
44
45
abstract
protected
function
assignMessageToCode
();
46
50
public
function
__toString
()
51
{
52
return
get_class($this) .
" '{$this->message}' in {$this->file}({$this->line})\n"
53
.
"{$this->getTraceAsString()}"
;
54
}
55
}
ilException
ilSystemStyleExceptionBase\assignMessageToCode
assignMessageToCode()
ilSystemStyleExceptionBase\UNKNONW_EXCEPTION
const UNKNONW_EXCEPTION
Definition:
class.ilSystemStyleExceptionBase.php:15
ilSystemStyleExceptionBase\__toString
__toString()
Definition:
class.ilSystemStyleExceptionBase.php:50
ilSystemStyleExceptionBase\$add_info
$add_info
Definition:
class.ilSystemStyleExceptionBase.php:30
ilSystemStyleExceptionBase\__construct
__construct($exception_code=-1, $exception_info="")
ilSystemStyleException constructor.
Definition:
class.ilSystemStyleExceptionBase.php:37
ilSystemStyleExceptionBase\$code
$code
Definition:
class.ilSystemStyleExceptionBase.php:25
ilSystemStyleExceptionBase\$message
$message
Definition:
class.ilSystemStyleExceptionBase.php:20
ilSystemStyleExceptionBase
Class for advanced editing exception handling in ILIAS.
Definition:
class.ilSystemStyleExceptionBase.php:13
Services
Style
System
classes
Exceptions
class.ilSystemStyleExceptionBase.php
Generated on Sat Jan 18 2025 19:01:38 for ILIAS by
1.8.13 (using
Doxyfile
)