4require_once
'Services/Exceptions/classes/class.ilException.php';
5require_once
'class.ilSystemStyleExceptionBase.php';
50 switch ($this->code) {
58 $this->message =
"Invalid mandatory entry Attribute: " .
$this->add_info;
61 $this->message =
"There are entries with the same ID. Duplicate: " .
$this->add_info;
64 $this->message =
"There are multiple root entry. Duplicate: " .
$this->add_info;
67 $this->message =
"No such ID found in list or tree: " .
$this->add_info;
70 $this->message =
"The ID given contains invalid characters: " .
$this->add_info;
73 $this->message =
"Invalid file path or file not readable: " .
$this->add_info;
103 $this->message =
"No Style ID is given.";
106 $this->message =
"No Skin ID is given.";
118 $this->message =
"No parent style defined for style: " .
$this->add_info;
121 $this->message =
"The assignment of this substyle already exists: " .
$this->add_info;
124 $this->message =
"No less compiler is installed";
An exception for terminatinating execution or to throw for unit testing.
Class for advanced editing exception handling in ILIAS.
Class for advanced editing exception handling in ILIAS.
const INVALID_CHARACTERS_IN_ID
const SUBSTYLE_ASSIGNMENT_EXISTS
const PARSING_JSON_FAILED
const SKIN_FOLDER_DOES_NOT_EXIST
const INVALID_MANDATORY_ENTRY_ATTRIBUTE
const DUPLICATE_ROOT_ENTRY
const FOLDER_DELETION_FAILED
const FILE_OPENING_FAILED
const LESSC_NOT_INSTALLED
const FILE_DELETION_FAILED
const SKIN_CSS_DOES_NOT_EXIST
const SKIN_ALREADY_EXISTS
const INVALID_RULES_ENTRY
const FILE_CREATION_FAILED
const FOLDER_CREATION_FAILED
const LESS_COMPILE_FAILED