You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2004/06/24 06:55:17 UTC
cvs commit: ws-axis/c/include/axis AxisGenException.h
damitha 2004/06/23 21:55:17
Added: c/include/axis AxisGenException.h
Log:
Revision Changes Path
1.1 ws-axis/c/include/axis/AxisGenException.h
Index: AxisGenException.h
===================================================================
/*
* Copyright 2003-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*
* @author Damitha Kumarage (damitha@opensource.lk, damitha@jkcsworld.com)
*
*/
#ifndef __AXISGENEXCEPTION_H_OF_AXIS_INCLUDED_
#define __AXISGENEXCEPTION_H_OF_AXIS_INCLUDED_
#include <string>
#include <exception>
#include <axis/server/AxisException.h>
using namespace std;
class STORAGE_CLASS_INFO AxisGenException :public AxisException
{
public:
AxisGenException();
AxisGenException(const int iExceptionCode);
AxisGenException(const int iExceptionCode, char* pcMessage);
AxisGenException(const exception* e);
AxisGenException(const exception* e, const int iExceptionCode);
AxisGenException(const char* pcMessage);
virtual ~AxisGenException() throw();
const char* what() throw();
const int getExceptionCode();
private:
const string getMessage(const exception* e);
const string getMessage(const int iExceptionCode);
void processException(const exception* e);
void processException(const exception* e, const int iExceptionCode);
void processException(const int iExceptionCode);
void processException(const int iExceptionCode, char* pcMessage);
string m_sMessage;
int m_iExceptionCode;
};
#endif