From 81861258bef606bcdf14d170fb73cd06e25e5ebe Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Mon, 10 Mar 2014 14:10:16 +0100 Subject: deal with magic methods and magic interfaces that throw exceptions --- include/exception.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/exception.h') 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(); }; /** -- cgit v1.2.3