ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  {
22  case self::IMAGES_FOLDER_DOES_NOT_EXIST:
23  $this->message = "Images folder set for this style does not exist or can not be read: " . $this->add_info;
24  break;
25  case self::ICON_DOES_NOT_EXIST:
26  $this->message = "The selected Icon does not exit: " . $this->add_info;
27  break;
28  default:
29  $this->message = "Unknown Exception " . $this->add_info;
30  break;
31  }
32  }
33 
34 }
Class for advanced editing exception handling in ILIAS.
Class for advanced editing exception handling in ILIAS.