ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilSystemStyleMessageStackException Class Reference

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

+ Inheritance diagram for ilSystemStyleMessageStackException:
+ Collaboration diagram for ilSystemStyleMessageStackException:

Data Fields

const MESSAGE_STACK_TYPE_ID_DOES_NOT_EXIST = 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.ilSystemStyleMessageStackException.php.

Member Function Documentation

◆ assignMessageToCode()

ilSystemStyleMessageStackException::assignMessageToCode ( )
protected

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

References ilSystemStyleExceptionBase\$add_info.

19  {
20  switch ($this->code)
21  {
22  case self::MESSAGE_STACK_TYPE_ID_DOES_NOT_EXIST:
23  $this->message = "Type id does not exist in message stack";
24  break;
25  default:
26  $this->message = "Unknown Exception " . $this->add_info;
27  break;
28  }
29  }

Field Documentation

◆ MESSAGE_STACK_TYPE_ID_DOES_NOT_EXIST

const ilSystemStyleMessageStackException::MESSAGE_STACK_TYPE_ID_DOES_NOT_EXIST = 1001

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