-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTooManyItemsException.php
53 lines (48 loc) · 1.17 KB
/
TooManyItemsException.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
45
46
47
48
49
50
51
52
53
<?php
/**
* TextMagic SMS API wrapper
* Too many items per request exception
*
* PHP version 5
*
* @category SMS
* @package TextMagicSMS
* @author Fedyashev Nikita <[email protected]>
* @license http://www.opensource.org/licenses/bsd-license.php New BSD license
* @link http://code.google.com/p/textmagic-sms-api-php/
*
*/
/**
* Too many items in one request
* Error code: 12
*
* PHP version 5
*
* @category SMS
* @package TextMagicSMS
* @author Fedyashev Nikita <[email protected]>
* @license http://www.opensource.org/licenses/bsd-license.php New BSD license
* @link http://code.google.com/p/textmagic-sms-api-php/
*/
class TooManyItemsException extends Exception
{
/**
* Class constructor
*
*/
public function __construct()
{
/* call the super class Exception constructor */
parent::__construct('Too many items per request exception', 0);
}
/**
* Called when the object is casted to a string.
*
* @return string
*/
public function __toString()
{
return 'Too many items per request exception';
}
}
?>