ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilCloudPluginConfigException Class Reference

Class ilCloudPluginConfigException. More...

+ Inheritance diagram for ilCloudPluginConfigException:
+ Collaboration diagram for ilCloudPluginConfigException:

Data Fields

const TABLE_DOES_NOT_EXIST = 100001
 
const ENTRY_DOES_NOT_EXIST = 100002
 
const NO_VALID_GET_OR_SET_FUNCTION = 100003
 
const PLUGIN_NOT_PROPERLY_CONFIGURED = 100004
 
- Data Fields inherited from ilCloudException
const UNKNONW_EXCEPTION = -1
 
const NO_SERVICE_ACTIVE = 1001
 
const NO_SERVICE_SELECTED = 1002
 
const SERVICE_NOT_ACTIVE = 1003
 
const SERVICE_CLASS_FILE_NOT_FOUND = 1004
 
const PLUGIN_HOOK_COULD_NOT_BE_INSTANTIATED = 1005
 
const FOLDER_NOT_EXISTING_ON_SERVICE = 1101
 
const FILE_NOT_EXISTING_ON_SERVICE = 1102
 
const FOLDER_ALREADY_EXISTING_ON_SERVICE = 1103
 
const AUTHENTICATION_FAILED = 2001
 
const DELETE_FAILED = 2101
 
const DOWNLOAD_FAILED = 2201
 
const FOLDER_CREATION_FAILED = 2301
 
const UPLOAD_FAILED = 2401
 
const UPLOAD_FAILED_MAX_FILESIZE = 2402
 
const ADD_ITEMS_FROM_SERVICE_FAILED = 2501
 
const INVALID_INPUT = 3001
 
const PATH_DOES_NOT_EXIST_IN_FILE_TREE_IN_SESSION = 4001
 
const ID_DOES_NOT_EXIST_IN_FILE_TREE_IN_SESSION = 4002
 
const ID_ALREADY_EXISTS_IN_FILE_TREE_IN_SESSION = 4003
 
const PERMISSION_DENIED = 5001
 
const PERMISSION_TO_CHANGE_ROOT_FOLDER_DENIED = 5002
 

Protected Member Functions

 assignMessageToCode ()
 
- Protected Member Functions inherited from ilCloudException
 assignMessageToCode ()
 

Additional Inherited Members

- Public Member Functions inherited from ilCloudException
 __construct ($exception_code, $exception_info="")
 
 __toString ()
 
- Public Member Functions inherited from ilException
 __construct ($a_message, $a_code=0)
 A message isn't optional as in build in class Exception. More...
 
- Protected Attributes inherited from ilCloudException
 $message
 
 $code
 
 $add_info
 

Detailed Description

Member Function Documentation

◆ assignMessageToCode()

ilCloudPluginConfigException::assignMessageToCode ( )
protected

Definition at line 22 of file class.ilCloudPluginConfigException.php.

References ilCloudException\$add_info, and $lng.

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  }
global $lng
Definition: privfeed.php:17

Field Documentation

◆ ENTRY_DOES_NOT_EXIST

const ilCloudPluginConfigException::ENTRY_DOES_NOT_EXIST = 100002

Definition at line 17 of file class.ilCloudPluginConfigException.php.

◆ NO_VALID_GET_OR_SET_FUNCTION

const ilCloudPluginConfigException::NO_VALID_GET_OR_SET_FUNCTION = 100003

Definition at line 18 of file class.ilCloudPluginConfigException.php.

Referenced by ilCloudPluginConfig\__call().

◆ PLUGIN_NOT_PROPERLY_CONFIGURED

const ilCloudPluginConfigException::PLUGIN_NOT_PROPERLY_CONFIGURED = 100004

Definition at line 19 of file class.ilCloudPluginConfigException.php.

◆ TABLE_DOES_NOT_EXIST

const ilCloudPluginConfigException::TABLE_DOES_NOT_EXIST = 100001

The documentation for this class was generated from the following file: