File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ zend_class_entry* phongo_exception_from_phongo_domain(php_phongo_error_domain_t
106106 }
107107
108108 MONGOC_ERROR ("Resolving unknown exception domain!!!" );
109- return spl_ce_RuntimeException ;
109+ return php_phongo_runtimeexception_ce ;
110110}
111111zend_class_entry * phongo_exception_from_mongoc_domain (uint32_t /* mongoc_error_domain_t */ domain , uint32_t /* mongoc_error_code_t */ code )
112112{
@@ -166,7 +166,7 @@ zend_class_entry* phongo_exception_from_mongoc_domain(uint32_t /* mongoc_error_d
166166 return phongo_ce_mongo_connection_exception ;
167167#endif
168168 default :
169- return spl_ce_RuntimeException ;
169+ return php_phongo_runtimeexception_ce ;
170170 }
171171}
172172PHONGO_API zval * phongo_throw_exception (php_phongo_error_domain_t domain TSRMLS_DC , const char * format , ...)
You can’t perform that action at this time.
0 commit comments