-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNoAccessException.php
44 lines (35 loc) · 1.26 KB
/
NoAccessException.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/*
START LICENSE AND COPYRIGHT
This file is part of ZfExtended library
Copyright (c) 2013 - 2021 Marc Mittag; MittagQI - Quality Informatics; All rights reserved.
Contact: http://www.MittagQI.com/ / service (ATT) MittagQI.com
This file may be used under the terms of the GNU LESSER GENERAL PUBLIC LICENSE version 3
as published by the Free Software Foundation and appearing in the file lgpl3-license.txt
included in the packaging of this file. Please review the following information
to ensure the GNU LESSER GENERAL PUBLIC LICENSE version 3.0 requirements will be met:
https://www.gnu.org/licenses/lgpl-3.0.txt
@copyright Marc Mittag, MittagQI - Quality Informatics
@author MittagQI - Quality Informatics
@license GNU LESSER GENERAL PUBLIC LICENSE version 3
https://www.gnu.org/licenses/lgpl-3.0.txt
END LICENSE AND COPYRIGHT
*/
/**
* Since no access is mostly an ACL misconfiguration we leave logging enabled.
*/
class ZfExtended_NoAccessException extends ZfExtended_Exception
{
/**
* @var string
*/
protected $defaultMessage = 'Keine Zugriffsberechtigung!';
/**
* @var boolean
*/
protected $defaultMessageTranslate = true;
/**
* @var integer
*/
protected $defaultCode = 403;
}