|
eZ Publish
[4.0]
|
00001 <?php 00002 // 00003 // Definition of eZSOAPFault class 00004 // 00005 // Created on: <30-May-2002 15:51:41 bf> 00006 // 00007 // ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ## 00008 // SOFTWARE NAME: eZ Publish 00009 // SOFTWARE RELEASE: 4.0.x 00010 // COPYRIGHT NOTICE: Copyright (C) 1999-2008 eZ Systems AS 00011 // SOFTWARE LICENSE: GNU General Public License v2.0 00012 // NOTICE: > 00013 // This program is free software; you can redistribute it and/or 00014 // modify it under the terms of version 2.0 of the GNU General 00015 // Public License as published by the Free Software Foundation. 00016 // 00017 // This program is distributed in the hope that it will be useful, 00018 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 // GNU General Public License for more details. 00021 // 00022 // You should have received a copy of version 2.0 of the GNU General 00023 // Public License along with this program; if not, write to the Free 00024 // Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00025 // MA 02110-1301, USA. 00026 // 00027 // 00028 // ## END COPYRIGHT, LICENSE AND WARRANTY NOTICE ## 00029 // 00030 00031 /*! 00032 \class eZSOAPFault ezsoapfault.php 00033 \ingroup eZSOAP 00034 \brief eZSOAPFault handles SOAP fault messages 00035 00036 */ 00037 00038 class eZSOAPFault 00039 { 00040 /*! 00041 Constructs a new eZSOAPFault object 00042 */ 00043 function eZSOAPFault( $faultCode = "", $faultString = "" ) 00044 { 00045 $this->FaultCode = $faultCode; 00046 $this->FaultString = $faultString; 00047 } 00048 00049 /*! 00050 Returns the fauls code. 00051 */ 00052 function faultCode() 00053 { 00054 return $this->FaultCode; 00055 } 00056 00057 /*! 00058 Returns the fauls string. 00059 */ 00060 function faultString() 00061 { 00062 return $this->FaultString; 00063 } 00064 00065 /// Contains the fault code 00066 public $FaultCode; 00067 00068 /// Contains the fault string 00069 public $FaultString; 00070 } 00071 00072 ?>