ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilWACException Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilWACException:
+ Collaboration diagram for ilWACException:

Public Member Functions

 __construct ($code, $additional_message='', Throwable $previous=null)
 
- Public Member Functions inherited from ilException
 __construct ($a_message, $a_code=0, Throwable $previous=null)
 A code isn't optional as in build in class Exception. More...
 

Data Fields

const CODE_NO_TYPE = 9001
 
const CODE_NO_PATH = 9002
 
const ACCESS_WITHOUT_CHECK = 9003
 
const NO_CHECKING_INSTANCE = 9004
 
const WRONG_PATH_TYPE = 9005
 
const INITIALISATION_FAILED = 9006
 
const DATA_DIR_NON_WRITEABLE = 9007
 
const ACCESS_DENIED = 9010
 
const ACCESS_DENIED_NO_PUB = 9011
 
const ACCESS_DENIED_NO_LOGIN = 9012
 
const MAX_LIFETIME = 9013
 
const NOT_FOUND = 9014
 

Static Protected Attributes

static array $messages
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilWACException

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
1.0.0

Definition at line 24 of file class.ilWACException.php.

Constructor & Destructor Documentation

◆ __construct()

ilWACException::__construct (   $code,
  $additional_message = '',
Throwable  $previous = null 
)
Parameters
int$code
string$additional_message

Definition at line 61 of file class.ilWACException.php.

References $message, $messages, and ILIAS\GlobalScreen\Provider\__construct().

62  {
63  $message = self::$messages[$code] ?? 'Unknown error';
64  if (!empty($additional_message)) {
65  $message .= ': ' . $additional_message;
66  }
67  parent::__construct($message, $code, $previous);
68  }
$messages
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: xapiexit.php:22
__construct(Container $dic, ilPlugin $plugin)
$message
Definition: xapiexit.php:32
+ Here is the call graph for this function:

Field Documentation

◆ $messages

array ilWACException::$messages
staticprotected
Initial value:
= [
self::CODE_NO_TYPE => 'No type for Path-Signing selected'

Definition at line 41 of file class.ilWACException.php.

◆ ACCESS_DENIED

const ilWACException::ACCESS_DENIED = 9010

◆ ACCESS_DENIED_NO_LOGIN

const ilWACException::ACCESS_DENIED_NO_LOGIN = 9012

◆ ACCESS_DENIED_NO_PUB

const ilWACException::ACCESS_DENIED_NO_PUB = 9011

◆ ACCESS_WITHOUT_CHECK

const ilWACException::ACCESS_WITHOUT_CHECK = 9003

◆ CODE_NO_PATH

const ilWACException::CODE_NO_PATH = 9002

◆ CODE_NO_TYPE

const ilWACException::CODE_NO_TYPE = 9001

Definition at line 26 of file class.ilWACException.php.

Referenced by ilWACSignedPath\buildTokenInstance().

◆ DATA_DIR_NON_WRITEABLE

const ilWACException::DATA_DIR_NON_WRITEABLE = 9007

Definition at line 32 of file class.ilWACException.php.

Referenced by ilWACToken\generateSaltFile().

◆ INITIALISATION_FAILED

const ilWACException::INITIALISATION_FAILED = 9006

Definition at line 31 of file class.ilWACException.php.

Referenced by ilWebAccessCheckerDelivery\handleRequest().

◆ MAX_LIFETIME

const ilWACException::MAX_LIFETIME = 9013

◆ NO_CHECKING_INSTANCE

const ilWACException::NO_CHECKING_INSTANCE = 9004

Definition at line 29 of file class.ilWACException.php.

Referenced by ilWebAccessCheckerDelivery\handleRequest().

◆ NOT_FOUND

◆ WRONG_PATH_TYPE

const ilWACException::WRONG_PATH_TYPE = 9005

Definition at line 30 of file class.ilWACException.php.

Referenced by ilWACSignedPath\getSignedPath().


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