4 require_once
'Services/Exceptions/classes/class.ilException.php';
5 require_once
'class.ilSystemStyleExceptionBase.php';
52 case self::EMPTY_ENTRY:
55 case self::PARSING_JSON_FAILED:
58 case self::INVALID_MANDATORY_ENTRY_ATTRIBUTE:
59 $this->message =
"Invalid mandatory entry Attribute: " .
$this->add_info;
61 case self::DUPLICATE_ENTRY:
62 $this->message =
"There are entries with the same ID. Duplicate: " .
$this->add_info;
64 case self::DUPLICATE_ROOT_ENTRY:
65 $this->message =
"There are multiple root entry. Duplicate: " .
$this->add_info;
67 case self::INVALID_ID:
68 $this->message =
"No such ID found in list or tree: " .
$this->add_info;
70 case self::INVALID_CHARACTERS_IN_ID:
71 $this->message =
"The ID given contains invalid characters: " .
$this->add_info;
73 case self::INVALID_FILE_PATH:
74 $this->message =
"Invalid file path or file not readable: " .
$this->add_info;
76 case self::FILE_CREATION_FAILED:
79 case self::FOLDER_CREATION_FAILED:
82 case self::FOLDER_DELETION_FAILED:
85 case self::FILE_DELETION_FAILED:
88 case self::LESS_COMPILE_FAILED:
91 case self::FILE_OPENING_FAILED:
94 case self::SKIN_CSS_DOES_NOT_EXIST:
97 case self::SKIN_FOLDER_DOES_NOT_EXIST:
100 case self::INVALID_RULES_ENTRY:
103 case self::NO_STYLE_ID:
104 $this->message =
"No Style ID is given.";
106 case self::NO_SKIN_ID:
107 $this->message =
"No Skin ID is given.";
109 case self::NOT_EXISTING_SKIN:
112 case self::NOT_EXISTING_STYLE:
115 case self::SKIN_ALREADY_EXISTS:
116 $this->message =
"Skin already exists: ".$this->add_info;
118 case self::NO_PARENT_STYLE:
119 $this->message =
"No parent style defined for style: ".$this->add_info;
121 case self::SUBSTYLE_ASSIGNMENT_EXISTS:
122 $this->message =
"The assignment of this substyle already exists: ".$this->add_info;
124 case self::LESSC_NOT_INSTALLED:
125 $this->message =
"No less compiler is installed";
const SKIN_ALREADY_EXISTS
const LESSC_NOT_INSTALLED
const FOLDER_DELETION_FAILED
const PARSING_JSON_FAILED
const SUBSTYLE_ASSIGNMENT_EXISTS
const FOLDER_CREATION_FAILED
const DUPLICATE_ROOT_ENTRY
const FILE_CREATION_FAILED
const SKIN_FOLDER_DOES_NOT_EXIST
const INVALID_CHARACTERS_IN_ID
const FILE_DELETION_FAILED
Class for advanced editing exception handling in ILIAS.
const FILE_OPENING_FAILED
const SKIN_CSS_DOES_NOT_EXIST
const LESS_COMPILE_FAILED
const INVALID_MANDATORY_ENTRY_ATTRIBUTE
const INVALID_RULES_ENTRY
Class for advanced editing exception handling in ILIAS.