ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilSystemStyleColorException Class Reference

Class for advanced editing exception handling in ILIAS. More...

+ Inheritance diagram for ilSystemStyleColorException:
+ Collaboration diagram for ilSystemStyleColorException:

Data Fields

const INVALID_COLOR_EXCEPTION = 1001
 
- Data Fields inherited from ilSystemStyleExceptionBase
const UNKNONW_EXCEPTION = -1
 

Protected Member Functions

 assignMessageToCode ()
 
- Protected Member Functions inherited from ilSystemStyleExceptionBase
 assignMessageToCode ()
 

Additional Inherited Members

- Public Member Functions inherited from ilSystemStyleExceptionBase
 __construct ($exception_code=-1, $exception_info="")
 ilSystemStyleException constructor. More...
 
 __toString ()
 
- Public Member Functions inherited from ilException
 __construct ($a_message, $a_code=0)
 A message isn't optional as in build in class Exception. More...
 
- Protected Attributes inherited from ilSystemStyleExceptionBase
 $message = ""
 
 $code = -1
 
 $add_info = ""
 

Detailed Description

Class for advanced editing exception handling in ILIAS.

Author
Timon Amstutz timon.nosp@m..ams.nosp@m.tutz@.nosp@m.ilub.nosp@m..unib.nosp@m.e.ch
Version
$Id$

Definition at line 13 of file class.ilSystemStyleColorException.php.

Member Function Documentation

◆ assignMessageToCode()

ilSystemStyleColorException::assignMessageToCode ( )
protected

Definition at line 18 of file class.ilSystemStyleColorException.php.

References ilSystemStyleExceptionBase\$add_info.

19  {
20  switch ($this->code) {
21  case self::INVALID_COLOR_EXCEPTION:
22  $this->message = "Invalid Color value";
23  break;
24  default:
25  $this->message = "Unknown Exception " . $this->add_info;
26  break;
27  }
28  }

Field Documentation

◆ INVALID_COLOR_EXCEPTION


The documentation for this class was generated from the following file: