This repository was archived by the owner on May 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 117
Expand file tree
/
Copy pathAvailabilityException.php
More file actions
executable file
·55 lines (53 loc) · 1.81 KB
/
AvailabilityException.php
File metadata and controls
executable file
·55 lines (53 loc) · 1.81 KB
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
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* OWASP Enterprise Security API (ESAPI)
*
* This file is part of the Open Web Application Security Project (OWASP)
* Enterprise Security API (ESAPI) project.
*
* LICENSE: This source file is subject to the New BSD license. You should read
* and accept the LICENSE before you use, modify, and/or redistribute this
* software.
*
* PHP version 5.2
*
* @category OWASP
* @package ESAPI_Errors
* @author Andrew van der Stock <vanderaj@owasp.org>
* @author Mike Boberski <boberski_michael@bah.com>
* @copyright 2009-2010 The OWASP Foundation
* @license http://www.opensource.org/licenses/bsd-license.php New BSD license
* @version SVN: $Id$
* @link http://www.owasp.org/index.php/ESAPI
*/
require_once dirname(__FILE__).'/EnterpriseSecurityException.php';
/**
* An AvailabilityException should be thrown when the availability of a limited
* resource is in jeopardy. For example, if a database connection pool runs out
* of connections, an availability exception should be thrown.
*
* @category OWASP
* @package ESAPI_Errors
* @author Andrew van der Stock <vanderaj@owasp.org>
* @author Mike Boberski <boberski_michael@bah.com>
* @copyright 2009-2010 The OWASP Foundation
* @license http://www.opensource.org/licenses/bsd-license.php New BSD license
* @version Release: @package_version@
* @link http://www.owasp.org/index.php/ESAPI
*/
class AvailabilityException extends EnterpriseSecurityException
{
/**
* Instantiates a new AvailabilityException.
*
* @param string $userMessage the message displayed to the user
* @param string $logMessage the message logged
*
* @return does not return a value.
*/
function __construct($userMessage = '', $logMessage = '')
{
parent::__construct($userMessage, $logMessage);
}
}
?>