ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
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 
15 {
16  const TABLE_DOES_NOT_EXIST = 100001;
17  const ENTRY_DOES_NOT_EXIST = 100002;
20 
21 
22  protected function assignMessageToCode()
23  {
24  global $lng;
25  switch ($this->code)
26  {
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 }
Class ilCloudPluginConfigException.
global $lng
Definition: privfeed.php:40
Class ilCloudException.