diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-10 14:10:16 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-10 14:10:16 +0100 |
commit | 81861258bef606bcdf14d170fb73cd06e25e5ebe (patch) | |
tree | 7b9027d8d461046ee982e059da08d54f4664f4ee /include/exception.h | |
parent | dd3422f6ed454d06e6091ad5023da7fc294595b8 (diff) |
deal with magic methods and magic interfaces that throw exceptions
Diffstat (limited to 'include/exception.h')
-rw-r--r-- | include/exception.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/exception.h b/include/exception.h index 5bcc26a..8475925 100644 --- a/include/exception.h +++ b/include/exception.h @@ -54,6 +54,16 @@ public: { return _message; } + + /** + * Process the exception + * + * This method is called only from withing the PHP-CPP library, + * and will turn the exception into a PHP exception + * + * @internal + */ + virtual void process(); }; /** |