ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
class.ilCloudPluginConfigException.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'class.ilCloudException.php'
;
5
14
class
ilCloudPluginConfigException
extends
ilCloudException
15
{
16
const
TABLE_DOES_NOT_EXIST
= 100001;
17
const
ENTRY_DOES_NOT_EXIST
= 100002;
18
const
NO_VALID_GET_OR_SET_FUNCTION
= 100003;
19
const
PLUGIN_NOT_PROPERLY_CONFIGURED
= 100004;
20
21
22
protected
function
assignMessageToCode
()
23
{
24
global
$DIC
;
25
$lng
=
$DIC
[
'lng'
];
26
switch
($this->code) {
27
case
self::TABLE_DOES_NOT_EXIST
:
28
$this->message =
$lng
->txt(
"cld_config_table_does_not_exist"
) .
" "
.
$this->add_info
;
29
break
;
30
case
self::ENTRY_DOES_NOT_EXIST
:
31
$this->message =
$lng
->txt(
"cld_config_entry_does_not_exist"
) .
" "
.
$this->add_info
;
32
break
;
33
case
self::NO_VALID_GET_OR_SET_FUNCTION
:
34
$this->message =
$lng
->txt(
"cld_config_no_valid_get_or_set_function"
) .
" "
.
$this->add_info
;
35
break
;
36
case
self::PLUGIN_NOT_PROPERLY_CONFIGURED
:
37
$this->message =
$lng
->txt(
"cld_plugin_not_properly_configured"
) .
" "
.
$this->add_info
;
38
break
;
39
default
:
40
$this->message =
$lng
->txt(
"cld_config_unknown_exception"
) .
" "
.
$this->add_info
;
41
break
;
42
}
43
}
44
}
php
An exception for terminatinating execution or to throw for unit testing.
ilCloudException
Class ilCloudException.
Definition:
class.ilCloudException.php:15
ilCloudException\$add_info
$add_info
Definition:
class.ilCloudException.php:40
ilCloudPluginConfigException
Class ilCloudPluginConfigException.
Definition:
class.ilCloudPluginConfigException.php:15
ilCloudPluginConfigException\assignMessageToCode
assignMessageToCode()
Definition:
class.ilCloudPluginConfigException.php:22
ilCloudPluginConfigException\NO_VALID_GET_OR_SET_FUNCTION
const NO_VALID_GET_OR_SET_FUNCTION
Definition:
class.ilCloudPluginConfigException.php:18
ilCloudPluginConfigException\PLUGIN_NOT_PROPERLY_CONFIGURED
const PLUGIN_NOT_PROPERLY_CONFIGURED
Definition:
class.ilCloudPluginConfigException.php:19
ilCloudPluginConfigException\TABLE_DOES_NOT_EXIST
const TABLE_DOES_NOT_EXIST
Definition:
class.ilCloudPluginConfigException.php:16
ilCloudPluginConfigException\ENTRY_DOES_NOT_EXIST
const ENTRY_DOES_NOT_EXIST
Definition:
class.ilCloudPluginConfigException.php:17
$DIC
global $DIC
Definition:
goto.php:24
$lng
$lng
Definition:
save_question_post_data.php:23
Modules
Cloud
exceptions
class.ilCloudPluginConfigException.php
Generated on Fri Oct 3 2025 21:00:42 for ILIAS by
1.9.4 (using
Doxyfile
)