Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

SoapFaultException.hpp

00001 /*
00002  *   Copyright 2003-2004 The Apache Software Foundation.
00003 // (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
00004  *
00005  *   Licensed under the Apache License, Version 2.0 (the "License");
00006  *   you may not use this file except in compliance with the License.
00007  *   You may obtain a copy of the License at
00008  *
00009  *       http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  *   Unless required by applicable law or agreed to in writing, software
00012  *   distributed under the License is distributed on an "AS IS" BASIS,
00013  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *   See the License for the specific language governing permissions and
00015  *   limitations under the License.
00016  */
00017  
00018 #ifndef __SOAPFAULTEXCEPTION_H_OF_AXIS_INCLUDED_
00019 #define __SOAPFAULTEXCEPTION_H_OF_AXIS_INCLUDED_
00020 
00021 #include <axis/GDefine.hpp>
00022 #include <axis/AxisException.hpp>
00023 
00024 AXIS_CPP_NAMESPACE_START
00025 
00042 class STORAGE_CLASS_INFO SoapFaultException :public AxisException
00043 {
00044 public:
00045         SoapFaultException();
00046         SoapFaultException(const AxisChar *code, const AxisChar *string, const AxisChar *actor, int exceptionCode);
00047         SoapFaultException(AxisException& ae);
00048         SoapFaultException(const SoapFaultException& copy);
00049         virtual SoapFaultException& operator=(SoapFaultException other);
00050         virtual ~SoapFaultException() throw();
00051 
00052         virtual const AxisChar *getFaultCode() const;
00053         virtual const AxisChar *getFaultString() const;
00054         virtual const AxisChar *getFaultActor() const;
00055 
00056         virtual void setFaultCode(const AxisChar *code);
00057         virtual void setFaultString(const AxisChar *string);
00058         virtual void setFaultActor(const AxisChar *actor);
00059         virtual void setExceptionCode(int code);
00060 
00062     virtual const char* what() throw();
00063     virtual const int getExceptionCode();
00064 private:
00065         AxisChar *m_code;
00066         AxisChar *m_string;
00067         AxisChar *m_actor;
00068         int m_exceptionCode;
00069 };
00070 
00071 AXIS_CPP_NAMESPACE_END
00072 
00073 #endif
00074 

Generated on Tue May 17 02:30:31 2005 for AxisC++ by doxygen1.2.18