Reputation: 166166
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?
Upvotes: 6
Views: 562
Reputation: 2282
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.
Upvotes: 2