ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
4require_once 'class.ilSystemStyleExceptionBase.php';
5
14{
16 const ICON_DOES_NOT_EXIST = 1002;
17
18 protected function assignMessageToCode()
19 {
20 switch ($this->code) {
22 $this->message = "Images folder set for this style does not exist or can not be read: " . $this->add_info;
23 break;
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}
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.