neo::cca::Exception Class Reference
This class extends the STL std::exception to allow the thrower to specify the message that the stl says we return via
what().
More...
#include <Exception.hh>
List of all members.
Detailed Description
This class extends the STL std::exception to allow the thrower to specify the message that the stl says we return via
what().
By default stl says strings come out but provides no way to put them into its base class exception. It is isomorphic to ccafeopq::Exception, but not castable thereunto, because that would make the spec framework specific. ccafeopq could be changed to inherit this.
Memory Lifecycle: This exception is thrown with throw new ccafeopq::exception(...) . The catcher, if any, is responsible for calling delete exceptionInstance; or rethrowing if appropriate.
Constructor & Destructor Documentation
virtual neo::cca::Exception::~Exception |
( |
|
) |
throw () [inline, virtual] |
neo::cca::Exception::Exception |
( |
enum ExceptionType |
t, |
|
|
const ::std::string & |
message | |
|
) |
| | throw () [inline] |
neo::cca::Exception::Exception |
( |
enum ExceptionType |
t |
) |
throw () [inline] |
neo::cca::Exception::Exception |
( |
|
) |
throw () [inline] |
neo::cca::Exception::Exception |
( |
const ::std::string & |
message |
) |
throw () [inline] |
Member Function Documentation
virtual const char* neo::cca::Exception::what |
( |
|
) |
[inline, virtual] |
::std::string neo::cca::Exception::getMessage |
( |
|
) |
[inline] |
string form of std::exception::what().
void neo::cca::Exception::setType |
( |
enum ExceptionType |
t |
) |
[inline] |
void neo::cca::Exception::setMessage |
( |
const ::std::string & |
message |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: