summaryrefslogtreecommitdiff
path: root/src/origexception.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-10 14:10:16 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-10 14:10:16 +0100
commit81861258bef606bcdf14d170fb73cd06e25e5ebe (patch)
tree7b9027d8d461046ee982e059da08d54f4664f4ee /src/origexception.cpp
parentdd3422f6ed454d06e6091ad5023da7fc294595b8 (diff)
deal with magic methods and magic interfaces that throw exceptions
Diffstat (limited to 'src/origexception.cpp')
-rw-r--r--src/origexception.cpp44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/origexception.cpp b/src/origexception.cpp
index e24131a..e3634e4 100644
--- a/src/origexception.cpp
+++ b/src/origexception.cpp
@@ -14,37 +14,6 @@
namespace Php {
/**
- * Constructor
- * @param zval
- */
-OrigException::OrigException(struct _zval_struct *zval) :
- Value(zval),
- Exception("OrigException"),
- _restored(false)
-{
- // save the exception
- //zend_exception_save();
-}
-
-/**
- * Copy constructor
- * @param exception
- */
-OrigException::OrigException(const OrigException &exception) :
- Value(exception),
- Exception("OrigException"),
- _restored(exception._restored) {}
-
-/**
- * Move constructor
- * @param exception
- */
-OrigException::OrigException(OrigException &&exception) :
- Value(std::move(exception)),
- Exception("OrigException"),
- _restored(exception._restored) {}
-
-/**
* Destructor
*/
OrigException::~OrigException() noexcept
@@ -57,19 +26,6 @@ OrigException::~OrigException() noexcept
}
/**
- * Restore the exception
- * @internal
- */
-void OrigException::restore()
-{
- // restore the exception
- //zend_exception_restore();
-
- // mark exception as restored
- _restored = true;
-}
-
-/**
* End of namespace
*/
}