ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilSystemStyleIconException.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once 'class.ilSystemStyleExceptionBase.php';
5 
14 {
16  const ICON_DOES_NOT_EXIST = 1002;
17 
18  protected function assignMessageToCode()
19  {
20  switch ($this->code) {
21  case self::IMAGES_FOLDER_DOES_NOT_EXIST:
22  $this->message = "Images folder set for this style does not exist or can not be read: " . $this->add_info;
23  break;
24  case self::ICON_DOES_NOT_EXIST:
25  $this->message = "The selected Icon does not exit: " . $this->add_info;
26  break;
27  default:
28  $this->message = "Unknown Exception " . $this->add_info;
29  break;
30  }
31  }
32 }
Class for advanced editing exception handling in ILIAS.
Class for advanced editing exception handling in ILIAS.