PEAR2_Net_RouterOS › PEAR2_Net_RouterOS-1.0.0b5/src/PEAR2/Net/RouterOS/InvalidArgumentException.php
- PEAR2_Net_RouterOS-1.0.0b5/
- data/
- pear2.php.net/
- PEAR2_Console_CommandLine/
- roscon.xml
- pear2.php.net/
- docs/
- examples/
- scripts/
- src/
- PEAR2/
- Autoload.php
- Cache/
- Console/
- Color/
- Color.php
- CommandLine/
- Action/
- Action.php
- Argument.php
- Command.php
- CustomMessageProvider.php
- Element.php
- Exception.php
- MessageProvider/
- MessageProvider.php
- Option.php
- Outputter/
- Outputter.php
- Renderer/
- Renderer.php
- Result.php
- XmlParser.php
- CommandLine.php
- Net/
- RouterOS/
- Transmitter/
- PEAR2/
- tests/
- Client/
- Safe/
- Safe.php
- Unsafe/
- Unsafe.php
- ConnectionTest.php
- Extra/
- HandlingTest.php
- RouterOS_SETTINGS.rsc
- Util/
- Safe/
- Safe.php
- Unsafe/
- Unsafe.php
- bootstrap.php
- phpunit.xml
- Client/
- data/
- package.xml
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
<?php
/**
* RouterOS API client implementation.
*
* RouterOS is the flag product of the company MikroTik and is a powerful router software. One of its many abilities is to allow control over it via an API. This package provides a client for that API, in turn allowing you to use PHP to control RouterOS hosts.
*
* PHP version 5
*
* @category Net
* @package PEAR2_Net_RouterOS
* @author Vasil Rangelov <boen.robot@gmail.com>
* @copyright 2011 Vasil Rangelov
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
* @version 1.0.0b5
* @link http://pear2.php.net/PEAR2_Net_RouterOS
*/
/**
* The namespace declaration.
*/
namespace PEAR2\Net\RouterOS;
use InvalidArgumentException as I;
/**
* Exception thrown when there's something wrong with message arguments.
*
* @category Net
* @package PEAR2_Net_RouterOS
* @author Vasil Rangelov <boen.robot@gmail.com>
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
* @link http://pear2.php.net/PEAR2_Net_RouterOS
*/
class InvalidArgumentException extends I implements Exception
{
const CODE_SEEKABLE_REQUIRED = 1100;
const CODE_NAME_INVALID = 20100;
const CODE_ABSOLUTE_REQUIRED = 40200;
const CODE_CMD_UNRESOLVABLE = 40201;
const CODE_CMD_INVALID = 40202;
const CODE_NAME_UNPARSABLE = 41000;
const CODE_VALUE_UNPARSABLE = 41001;
}
EOF