Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of all possible SoapServer Exceptions

Are any/all of the exceptions a PHP SoapServer might throw documented anywhere? (meaning the built is native PHP implementation of a SoapServer, not a third part PHP based implementation)

If not, is it possible to extract the possible exceptions using some sort of reflection? If so, where would one start with that?

Also, is it possible to examine the PHP source to determine what exceptions the built in object might throw? If so, where would one start with that?

like image 825
Alan Storm Avatar asked Nov 03 '11 21:11

Alan Storm


1 Answers

The only exception specific to the SOAP extension is SoapFault.
There are two exceptions built in to the language.
The other built in exceptions are in SPL.

As @Gordon mentioned, you can see the source at http://lxr.php.net/opengrok/xref/PHP_5_3/ext/soap/. Search for exception in soap.c to start.

like image 183
yakatz Avatar answered Oct 16 '22 01:10

yakatz