OWBI1::DateTimeException Class Reference

#include <OWBI1_DateTime.hpp>

Inheritance diagram for OWBI1::DateTimeException:

Inheritance graph
[legend]
Collaboration diagram for OWBI1::DateTimeException:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Definition at line 51 of file OWBI1_DateTime.hpp.


Constructor & Destructor Documentation

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

OWBI1::DateTimeException::~DateTimeException  )  throw () [virtual]
 

Definition at line 106 of file OWBI1_DateTime.cpp.


Member Function Documentation

DateTimeException * OWBI1::DateTimeException::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 OWBI1::Exception.

Definition at line 106 of file OWBI1_DateTime.cpp.

const char * OWBI1::DateTimeException::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 OWBI1::Exception.

Definition at line 106 of file OWBI1_DateTime.cpp.


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