OW_NAMESPACE::ExecErrorException Class Reference

#include <OW_Exec.hpp>

Inheritance diagram for OW_NAMESPACE::ExecErrorException:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::ExecErrorException:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ExecErrorException (const char *file, int line, const char *msg, int errorCode=::OW_NAMESPACE::Exception::UNKNOWN_ERROR_CODE, const Exception *otherException=0, int subClassId=::OW_NAMESPACE::Exception::UNKNOWN_SUBCLASS_ID)
virtual ~ExecErrorException () throw ()
virtual const char * type () const
 Returns a string representing the concrete type.
virtual ExecErrorExceptionclone () const
 Make a copy of this exception object.

Detailed Description

Definition at line 51 of file OW_Exec.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::ExecErrorException::ExecErrorException const char *  file,
int  line,
const char *  msg,
int  errorCode = ::OW_NAMESPACE::Exception::UNKNOWN_ERROR_CODE,
const Exception otherException = 0,
int  subClassId = ::OW_NAMESPACE::Exception::UNKNOWN_SUBCLASS_ID
 

OW_NAMESPACE::ExecErrorException::~ExecErrorException  )  throw () [virtual]
 

Definition at line 82 of file OW_Exec.cpp.


Member Function Documentation

ExecErrorException * OW_NAMESPACE::ExecErrorException::clone  )  const [virtual]
 

Make a copy of this exception object.

If allocation fails, return 0. Subclasses need to override this function. This function must not throw. Here is an example of how to implement this in a derived class:

virtual DerivedException* clone() const { return new(std::nothrow) DerivedException(*this); }

Reimplemented from OW_NAMESPACE::Exception.

Definition at line 82 of file OW_Exec.cpp.

const char * OW_NAMESPACE::ExecErrorException::type  )  const [virtual]
 

Returns a string representing the concrete type.

e.g. "SocketException". Will not return 0. This function will not throw. Derived class implementations must not throw.

Reimplemented from OW_NAMESPACE::Exception.

Definition at line 82 of file OW_Exec.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:13:46 2006 for openwbem by  doxygen 1.4.6