ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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  case self::MESSAGE_STACK_TYPE_ID_DOES_NOT_EXIST:
22  $this->message = "Type id does not exist in message stack";
23  break;
24  default:
25  $this->message = "Unknown Exception " . $this->add_info;
26  break;
27  }
28  }

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: