ILIAS  release_8 Revision v8.24
class.ilSystemStyleIconException.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
25{
26 public const IMAGES_FOLDER_DOES_NOT_EXIST = 1001;
27 public const ICON_DOES_NOT_EXIST = 1002;
28
29 protected function assignMessageToCode(): void
30 {
31 switch ($this->code) {
33 $this->message = 'Images folder set for this style does not exist or can not be read: ' . $this->add_info;
34 break;
36 $this->message = 'The selected Icon does not exit: ' . $this->add_info;
37 break;
38 default:
39 $this->message = 'Unknown Exception ' . $this->add_info;
40 break;
41 }
42 }
43}
Class for advanced editing exception handling in ILIAS.
Class for advanced editing exception handling in ILIAS.