diff --git a/src/BeSimple/SoapServer/Exception/ReceiverSoapFault.php b/src/BeSimple/SoapServer/Exception/ReceiverSoapFault.php new file mode 100644 index 0000000..dbe4ce6 --- /dev/null +++ b/src/BeSimple/SoapServer/Exception/ReceiverSoapFault.php @@ -0,0 +1,26 @@ + + * (c) Francis Besset + * (c) Andreas Schamberger + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + +namespace BeSimple\SoapServer\Exception; + +/** + * ReceiverSoapFault send a "Receiver" fault code to client. + * This fault code is standardized: http://www.w3.org/TR/soap12-part1/#tabsoapfaultcodes + */ +class ReceiverSoapFault extends SoapFault +{ + public function __construct($faultstring, $faultactor = null, $detail = null, $faultname = null, $headerfault = null) + { + parent::__construct('Receiver', $faultstring, $faultactor, $detail, $faultname, $headerfault); + } +} diff --git a/src/BeSimple/SoapServer/Exception/SenderSoapFault.php b/src/BeSimple/SoapServer/Exception/SenderSoapFault.php new file mode 100644 index 0000000..5fc89fa --- /dev/null +++ b/src/BeSimple/SoapServer/Exception/SenderSoapFault.php @@ -0,0 +1,26 @@ + + * (c) Francis Besset + * (c) Andreas Schamberger + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + +namespace BeSimple\SoapServer\Exception; + +/** + * SenderSoapFault send a "Sender" fault code to client. + * This fault code is standardized: http://www.w3.org/TR/soap12-part1/#tabsoapfaultcodes + */ +class SenderSoapFault extends SoapFault +{ + public function __construct($faultstring, $faultactor = null, $detail = null, $faultname = null, $headerfault = null) + { + parent::__construct('Sender', $faultstring, $faultactor, $detail, $faultname, $headerfault); + } +}