ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 ()

Additional Inherited Members

- Public Member Functions inherited from ilCloudException
 __construct ($exception_code, $exception_info="")
 __toString ()
- Protected Attributes inherited from ilCloudException
 $message
 $code
 $add_info

Detailed Description

Member Function Documentation

ilCloudPluginConfigException::assignMessageToCode ( )
protected

Reimplemented from ilCloudException.

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

References ilCloudException\$add_info, and $lng.

{
global $lng;
switch ($this->code)
{
case self::TABLE_DOES_NOT_EXIST:
$this->message = $lng->txt("cld_config_table_does_not_exist") . " " . $this->add_info;
break;
case self::ENTRY_DOES_NOT_EXIST:
$this->message = $lng->txt("cld_config_entry_does_not_exist") . " " . $this->add_info;
break;
case self::NO_VALID_GET_OR_SET_FUNCTION:
$this->message = $lng->txt("cld_config_no_valid_get_or_set_function") . " " . $this->add_info;
break;
case self::PLUGIN_NOT_PROPERLY_CONFIGURED:
$this->message = $lng->txt("cld_plugin_not_properly_configured") . " " . $this->add_info;
break;
default:
$this->message = $lng->txt("cld_config_unknown_exception") . " " . $this->add_info;
break;
}
}

Field Documentation

const ilCloudPluginConfigException::ENTRY_DOES_NOT_EXIST = 100002

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

const ilCloudPluginConfigException::NO_VALID_GET_OR_SET_FUNCTION = 100003

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

Referenced by ilCloudPluginConfig\__call().

const ilCloudPluginConfigException::PLUGIN_NOT_PROPERLY_CONFIGURED = 100004

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

const ilCloudPluginConfigException::TABLE_DOES_NOT_EXIST = 100001

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