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 __OTHERFAULTEXCEPTION_H_OF_AXIS_INCLUDED_ 00019 #define __OTHERFAULTEXCEPTION_H_OF_AXIS_INCLUDED_ 00020 00021 #include <axis/GDefine.hpp> 00022 #include <axis/SoapFaultException.hpp> 00023 00028 AXIS_CPP_NAMESPACE_START 00029 00040 class STORAGE_CLASS_INFO OtherFaultException : public SoapFaultException 00041 { 00042 public: 00046 OtherFaultException(); 00047 00057 OtherFaultException(const AxisChar *code, const AxisChar *string, 00058 const AxisChar *actor, const AxisChar *detail, int exceptionCode); 00059 00065 OtherFaultException(AxisException& ae); 00066 00072 OtherFaultException(const OtherFaultException& copy); 00073 00080 virtual OtherFaultException& operator=(OtherFaultException other); 00081 00085 virtual ~OtherFaultException() throw(); 00086 00092 virtual const AxisChar *getFaultDetail() const; 00093 00099 virtual void setFaultDetail(const AxisChar *detail); 00100 private: 00104 AxisChar *m_detail; 00105 }; 00106 00107 AXIS_CPP_NAMESPACE_END 00108 00109 #endif 00110