ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
4require_once 'class.ilCloudException.php';
5
15{
16 const TABLE_DOES_NOT_EXIST = 100001;
17 const ENTRY_DOES_NOT_EXIST = 100002;
20
21
22 protected function assignMessageToCode()
23 {
24 global $DIC;
25 $lng = $DIC['lng'];
26 switch ($this->code) {
28 $this->message = $lng->txt("cld_config_table_does_not_exist") . " " . $this->add_info;
29 break;
31 $this->message = $lng->txt("cld_config_entry_does_not_exist") . " " . $this->add_info;
32 break;
34 $this->message = $lng->txt("cld_config_no_valid_get_or_set_function") . " " . $this->add_info;
35 break;
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}
An exception for terminatinating execution or to throw for unit testing.
Class ilCloudException.
Class ilCloudPluginConfigException.
$lng
$DIC
Definition: xapitoken.php:46