Main Page Class Hierarchy Compound List File List Compound Members File Members Examples
AxisException Class Reference
Base class for Axis C++ exception hierarchy.
More...
#include <AxisException.hpp>
Inheritance diagram for AxisException:
List of all members.
Detailed Description
Base class for Axis C++ exception hierarchy.
This will act as the base class for Axis C++ exception hierarchy. This is class is derived from the std c++ exception class. Derived from this class are AxisConfigExceptin, AxisSoapExceptin, AxisWsddException, AxisEngineException, AxisTransportException and AxisParseException.
- Author:
-
Damitha Kumarage (damitha@opensource.lk, damitha@jkcsworld.com)
Constructor & Destructor Documentation
AxisException::AxisException |
( |
|
) |
[inline] |
|
virtual AxisException::~AxisException |
( |
|
) |
throw () [inline, virtual] |
|
Member Function Documentation
virtual const int AxisException::getExceptionCode |
( |
|
) |
const [inline, virtual] |
|
|
This can be called to get the exception code. |
const char* AxisException::getMessage |
( |
|
) |
const [inline] |
|
|
Get error message text - deprecated, use what() |
void AxisException::resetException |
( |
|
) |
[inline] |
|
|
The method will reset exception object as if no parameters where passed to constructor |
void AxisException::setExceptionCode |
( |
int |
exceptionCode |
) |
[inline] |
|
|
This can be called to set the exception code |
void AxisException::setExceptionFromException |
( |
const AxisException & |
e |
) |
[inline] |
|
|
The method will set exception data from another exception |
void AxisException::setMessage |
( |
const char * |
psMessage |
) |
[inline] |
|
|
The method setMessage(std::string psMessage) uses to set the private data member m_sMessage This method should be used to set the m_sMessage variable in derived classes. |
virtual const char* AxisException::what |
( |
|
) |
const throw () [inline, virtual] |
|
|
This method is defined in std::exception. AxisException and derived classes will override this to print exception messages |
Member Data Documentation
int AxisException::m_iExceptionCode [protected]
|
|
|
This data member is common to all the inherited classes of this base class. The integer variable m_iExceptionCode stores the Exception code |
char* AxisException::m_sMessage [protected]
|
|
|
This data member is common to all the inherited classes of this base class. The char* variable m_sMessage is used to store the Exception message Whenever you want to set this variable use method setMessage(std::string psMessage) |
The documentation for this class was generated from the following file:
Generated on Fri Mar 3 01:12:36 2006 for AxisC++ by
1.2.18