Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 98806 invoked from network); 13 May 2004 12:18:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 May 2004 12:18:35 -0000 Received: (qmail 26717 invoked by uid 500); 13 May 2004 12:18:35 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 26685 invoked by uid 500); 13 May 2004 12:18:34 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 26663 invoked by uid 98); 13 May 2004 12:18:34 -0000 Received: from damitha@apache.org by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(209.237.227.194):. Processed in 0.052409 secs); 13 May 2004 12:18:34 -0000 X-Qmail-Scanner-Mail-From: damitha@apache.org via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(209.237.227.194):. Processed in 0.052409 secs) Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by hermes.apache.org with SMTP; 13 May 2004 12:18:34 -0000 Received: (qmail 98786 invoked by uid 1683); 13 May 2004 12:18:31 -0000 Date: 13 May 2004 12:18:31 -0000 Message-ID: <20040513121831.98785.qmail@minotaur.apache.org> From: damitha@apache.org To: ws-axis-cvs@apache.org Subject: cvs commit: ws-axis/c/src/wsdd AxisWsddException.h AxisWsddException.cpp X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N damitha 2004/05/13 05:18:31 Added: c/src/common AxisConfigException.h AxisConfigException.cpp c/src/soap AxisSoapException.cpp AxisSoapException.h c/src/wsdd AxisWsddException.h AxisWsddException.cpp Log: Exception handling related Revision Changes Path 1.1 ws-axis/c/src/common/AxisConfigException.h Index: AxisConfigException.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 __AXISCONFIGEXCEPTION_H_OF_AXIS_INCLUDED_ #define __AXISCONFIGEXCEPTION_H_OF_AXIS_INCLUDED_ #include #include #include using namespace std; class AxisConfigException :public AxisException { public: AxisConfigException(); AxisConfigException(int exceptionCode); AxisConfigException(exception* e); AxisConfigException(exception* e, int exceptionCode); virtual ~AxisConfigException() throw(); }; #endif 1.1 ws-axis/c/src/common/AxisConfigException.cpp Index: AxisConfigException.cpp =================================================================== /* -*- C++ -*- */ /* * 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) * */ #include #include using namespace std; /** * Default when no parameter passed. When thrown with no parameter * more general AXISC_CONFIG_EXCEPTION is assumed. */ AxisConfigException::AxisConfigException() { processException(AXISC_CONFIG_EXCEPTION); } AxisConfigException::AxisConfigException (int iExceptionCode) { m_iExceptionCode = iExceptionCode; processException (iExceptionCode); } AxisConfigException::AxisConfigException (exception* e) { processException (e); } AxisConfigException::AxisConfigException (exception* e, int iExceptionCode) { processException (e, iExceptionCode); } AxisConfigException::~AxisConfigException() throw () { } 1.1 ws-axis/c/src/soap/AxisSoapException.cpp Index: AxisSoapException.cpp =================================================================== /* -*- C++ -*- */ /* * 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) * */ #include #include using namespace std; /** * Default when no parameter passed. When thrown with no parameter * more general AXISC_SOAP_EXCEPTION is assumed. */ AxisSoapException::AxisSoapException() { processException(AXISC_SOAP_EXCEPTION); } AxisSoapException::AxisSoapException (int iExceptionCode) { m_iExceptionCode = iExceptionCode; processException (iExceptionCode); } AxisSoapException::AxisSoapException (exception* e) { processException (e); } AxisSoapException::AxisSoapException (exception* e, int iExceptionCode) { processException (e, iExceptionCode); } AxisSoapException::~AxisSoapException() throw () { } 1.1 ws-axis/c/src/soap/AxisSoapException.h Index: AxisSoapException.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 __AXISSOAPEXCEPTION_H_OF_AXIS_INCLUDED_ #define __AXISSOAPEXCEPTION_H_OF_AXIS_INCLUDED_ #include #include #include using namespace std; class AxisSoapException :public AxisException { public: AxisSoapException(); AxisSoapException(int exceptionCode); AxisSoapException(exception* e); AxisSoapException(exception* e, int exceptionCode); virtual ~AxisSoapException() throw(); }; #endif 1.1 ws-axis/c/src/wsdd/AxisWsddException.h Index: AxisWsddException.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 __AXISWSDDEXCEPTION_H_OF_AXIS_INCLUDED_ #define __AXISWSDDEXCEPTION_H_OF_AXIS_INCLUDED_ #include #include #include using namespace std; class AxisWsddException :public AxisException { public: AxisWsddException(); AxisWsddException(int exceptionCode); AxisWsddException(exception* e); AxisWsddException(exception* e, int exceptionCode); virtual ~AxisWsddException() throw(); }; #endif 1.1 ws-axis/c/src/wsdd/AxisWsddException.cpp Index: AxisWsddException.cpp =================================================================== /* -*- C++ -*- */ /* * 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) * */ #include #include using namespace std; /** * Default when no parameter passed. When thrown with no parameter * more general AXISC_WSDD_EXCEPTION is assumed. */ AxisWsddException::AxisWsddException() { processException(AXISC_WSDD_EXCEPTION); } AxisWsddException::AxisWsddException (int iExceptionCode) { m_iExceptionCode = iExceptionCode; processException (iExceptionCode); } AxisWsddException::AxisWsddException (exception* e) { processException (e); } AxisWsddException::AxisWsddException (exception* e, int iExceptionCode) { processException (e, iExceptionCode); } AxisWsddException::~AxisWsddException() throw () { }