ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilCloudException. More...
Public Member Functions | |
__construct ($exception_code, $exception_info="") | |
__toString () | |
__construct ($a_message, $a_code=0) | |
A message isn't optional as in build in class Exception. More... | |
Data Fields | |
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 Attributes | |
$message | |
$code | |
$add_info | |
ilCloudException::__construct | ( | $exception_code, | |
$exception_info = "" |
|||
) |
string | $exception_code | |
string | $exception_info |
Reimplemented from ilException.
Definition at line 53 of file class.ilCloudException.php.
References assignMessageToCode().
ilCloudException::__toString | ( | ) |
Definition at line 139 of file class.ilCloudException.php.
|
protected |
Reimplemented in ilCloudPluginConfigException.
Definition at line 64 of file class.ilCloudException.php.
References $lng, ADD_ITEMS_FROM_SERVICE_FAILED, AUTHENTICATION_FAILED, DELETE_FAILED, DOWNLOAD_FAILED, FILE_NOT_EXISTING_ON_SERVICE, FOLDER_ALREADY_EXISTING_ON_SERVICE, FOLDER_CREATION_FAILED, FOLDER_NOT_EXISTING_ON_SERVICE, ID_ALREADY_EXISTS_IN_FILE_TREE_IN_SESSION, ID_DOES_NOT_EXIST_IN_FILE_TREE_IN_SESSION, INVALID_INPUT, NO_SERVICE_ACTIVE, NO_SERVICE_SELECTED, PATH_DOES_NOT_EXIST_IN_FILE_TREE_IN_SESSION, PERMISSION_DENIED, PERMISSION_TO_CHANGE_ROOT_FOLDER_DENIED, PLUGIN_HOOK_COULD_NOT_BE_INSTANTIATED, SERVICE_CLASS_FILE_NOT_FOUND, SERVICE_NOT_ACTIVE, UPLOAD_FAILED, and UPLOAD_FAILED_MAX_FILESIZE.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.ilCloudException.php.
Referenced by ilCloudPluginConfigException\assignMessageToCode().
|
protected |
Definition at line 46 of file class.ilCloudException.php.
|
protected |
Definition at line 45 of file class.ilCloudException.php.
const ilCloudException::ADD_ITEMS_FROM_SERVICE_FAILED = 2501 |
Definition at line 34 of file class.ilCloudException.php.
Referenced by ilCloudFileTree\addItemsFromService(), and assignMessageToCode().
const ilCloudException::AUTHENTICATION_FAILED = 2001 |
Definition at line 28 of file class.ilCloudException.php.
Referenced by assignMessageToCode(), and ilCloudPluginInitGUI\initGUI().
const ilCloudException::DELETE_FAILED = 2101 |
Definition at line 29 of file class.ilCloudException.php.
Referenced by assignMessageToCode(), and ilCloudFileTree\deleteFromService().
const ilCloudException::DOWNLOAD_FAILED = 2201 |
Definition at line 30 of file class.ilCloudException.php.
Referenced by assignMessageToCode(), and ilCloudFileTree\downloadFromService().
const ilCloudException::FILE_NOT_EXISTING_ON_SERVICE = 1102 |
Definition at line 25 of file class.ilCloudException.php.
Referenced by assignMessageToCode().
const ilCloudException::FOLDER_ALREADY_EXISTING_ON_SERVICE = 1103 |
Definition at line 26 of file class.ilCloudException.php.
Referenced by ilCloudFileTree\addFolderToService(), and assignMessageToCode().
const ilCloudException::FOLDER_CREATION_FAILED = 2301 |
Definition at line 31 of file class.ilCloudException.php.
Referenced by ilCloudFileTree\addFolderToService(), and assignMessageToCode().
const ilCloudException::FOLDER_NOT_EXISTING_ON_SERVICE = 1101 |
Definition at line 24 of file class.ilCloudException.php.
Referenced by assignMessageToCode().
const ilCloudException::ID_ALREADY_EXISTS_IN_FILE_TREE_IN_SESSION = 4003 |
Definition at line 40 of file class.ilCloudException.php.
Referenced by ilCloudFileTree\addNode(), and assignMessageToCode().
const ilCloudException::ID_DOES_NOT_EXIST_IN_FILE_TREE_IN_SESSION = 4002 |
Definition at line 39 of file class.ilCloudException.php.
Referenced by ilCloudFileTree\addItemsFromService(), assignMessageToCode(), ilCloudPluginDeleteGUI\asyncDeleteItem(), and ilCloudPluginFileTreeGUI\getFolderHtml().
const ilCloudException::INVALID_INPUT = 3001 |
Definition at line 36 of file class.ilCloudException.php.
Referenced by ilCloudFileTree\addFolderToService(), and assignMessageToCode().
const ilCloudException::NO_SERVICE_ACTIVE = 1001 |
Definition at line 18 of file class.ilCloudException.php.
Referenced by assignMessageToCode(), and ilCloudConnector\getActiveServices().
const ilCloudException::NO_SERVICE_SELECTED = 1002 |
Definition at line 19 of file class.ilCloudException.php.
Referenced by assignMessageToCode(), ilCloudConnector\checkServiceActive(), and ilCloudConnector\getServiceClass().
const ilCloudException::PATH_DOES_NOT_EXIST_IN_FILE_TREE_IN_SESSION = 4001 |
Definition at line 38 of file class.ilCloudException.php.
Referenced by ilCloudFileTree\addNode(), assignMessageToCode(), and ilCloudFileTree\setLoadingOfFolderComplete().
const ilCloudException::PERMISSION_DENIED = 5001 |
Definition at line 42 of file class.ilCloudException.php.
Referenced by assignMessageToCode().
const ilCloudException::PERMISSION_TO_CHANGE_ROOT_FOLDER_DENIED = 5002 |
Definition at line 43 of file class.ilCloudException.php.
Referenced by assignMessageToCode(), ilObjCloud\setRootFolder(), and ilObjCloud\setRootId().
const ilCloudException::PLUGIN_HOOK_COULD_NOT_BE_INSTANTIATED = 1005 |
Definition at line 22 of file class.ilCloudException.php.
Referenced by ilCloudPlugin\__construct(), and assignMessageToCode().
const ilCloudException::SERVICE_CLASS_FILE_NOT_FOUND = 1004 |
Definition at line 21 of file class.ilCloudException.php.
Referenced by assignMessageToCode().
const ilCloudException::SERVICE_NOT_ACTIVE = 1003 |
Definition at line 20 of file class.ilCloudException.php.
Referenced by assignMessageToCode(), ilCloudConnector\checkServiceActive(), and ilCloudConnector\getServiceClass().
const ilCloudException::UNKNONW_EXCEPTION = -1 |
Definition at line 16 of file class.ilCloudException.php.
const ilCloudException::UPLOAD_FAILED = 2401 |
Definition at line 32 of file class.ilCloudException.php.
Referenced by assignMessageToCode(), ilCloudPluginUploadGUI\uploadFiles(), and ilCloudFileTree\uploadFileToService().
const ilCloudException::UPLOAD_FAILED_MAX_FILESIZE = 2402 |
Definition at line 33 of file class.ilCloudException.php.
Referenced by assignMessageToCode(), and ilCloudFileTree\uploadFileToService().