use only zend_throw_exception, not SWIG exception wrappers