diff options
Diffstat (limited to 'ext/spl/spl.php')
| -rwxr-xr-x | ext/spl/spl.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/spl/spl.php b/ext/spl/spl.php index 027bf25a20..5f5d721b72 100755 --- a/ext/spl/spl.php +++ b/ext/spl/spl.php @@ -146,6 +146,20 @@ class LogicException extends Exception } /** @ingroup SPL + * @brief Exception thrown when a function call was illegal. + */ +class BadFunctionCallException extends LogicException +{ +} + +/** @ingroup SPL + * @brief Exception thrown when a method call was illegal. + */ +class BadMethodCallException extends BadFunctionCallException +{ +} + +/** @ingroup SPL * @brief Exception that denotes a value not in the valid domain was used. * * This kind of exception should be used to inform about domain erors in |
