BLOCXX_NAMESPACE::FileSystemMockObjectUnimplementedException Class Reference

Inheritance diagram for BLOCXX_NAMESPACE::FileSystemMockObjectUnimplementedException:

BLOCXX_NAMESPACE::Exception

List of all members.

Public Member Functions

 FileSystemMockObjectUnimplementedException (const char *file, int line, const char *msg, int errorCode=::BLOCXX_NAMESPACE::Exception::UNKNOWN_ERROR_CODE, const Exception *otherException=0, int subClassId=::BLOCXX_NAMESPACE::Exception::UNKNOWN_SUBCLASS_ID)
virtual ~FileSystemMockObjectUnimplementedException () throw ()
virtual const char * type () const
 Returns a string representing the concrete type.
virtual
FileSystemMockObjectUnimplementedException
clone () const
 Make a copy of this exception object.
virtual void rethrow () const
 Re-throws the exception.


Detailed Description

Definition at line 48 of file FileSystemMockObject.cpp.


Constructor & Destructor Documentation

BLOCXX_NAMESPACE::FileSystemMockObjectUnimplementedException::FileSystemMockObjectUnimplementedException ( const char *  file,
int  line,
const char *  msg,
int  errorCode = ::BLOCXX_NAMESPACE::Exception::UNKNOWN_ERROR_CODE,
const Exception otherException = 0,
int  subClassId = ::BLOCXX_NAMESPACE::Exception::UNKNOWN_SUBCLASS_ID 
)

BLOCXX_NAMESPACE::FileSystemMockObjectUnimplementedException::~FileSystemMockObjectUnimplementedException (  )  throw () [virtual]

Definition at line 49 of file FileSystemMockObject.cpp.


Member Function Documentation

const char * BLOCXX_NAMESPACE::FileSystemMockObjectUnimplementedException::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 BLOCXX_NAMESPACE::Exception.

Definition at line 49 of file FileSystemMockObject.cpp.

FileSystemMockObjectUnimplementedException * BLOCXX_NAMESPACE::FileSystemMockObjectUnimplementedException::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 BLOCXX_NAMESPACE::Exception.

Definition at line 49 of file FileSystemMockObject.cpp.

void BLOCXX_NAMESPACE::FileSystemMockObjectUnimplementedException::rethrow (  )  const [virtual]

Re-throws the exception.

All derived classes should override this which makes it possible to catch a base class Exception and still re-thrown the derived class.

Reimplemented from BLOCXX_NAMESPACE::Exception.

Definition at line 49 of file FileSystemMockObject.cpp.


The documentation for this class was generated from the following file:

Generated on Wed Feb 25 19:05:05 2009 for blocxx by  doxygen 1.5.6