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
106
106
}
107
107
108
108
MONGOC_ERROR ("Resolving unknown exception domain!!!" );
109
- return spl_ce_RuntimeException ;
109
+ return php_phongo_runtimeexception_ce ;
110
110
}
111
111
zend_class_entry * phongo_exception_from_mongoc_domain (uint32_t /* mongoc_error_domain_t */ domain , uint32_t /* mongoc_error_code_t */ code )
112
112
{
@@ -166,7 +166,7 @@ zend_class_entry* phongo_exception_from_mongoc_domain(uint32_t /* mongoc_error_d
166
166
return phongo_ce_mongo_connection_exception ;
167
167
#endif
168
168
default :
169
- return spl_ce_RuntimeException ;
169
+ return php_phongo_runtimeexception_ce ;
170
170
}
171
171
}
172
172
PHONGO_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