libcamgm
Public Member Functions | List of all members
ca_mgm::RuntimeException Class Reference

RuntimeException class declaration. More...

#include <Exception.hpp>

Inheritance diagram for ca_mgm::RuntimeException:
ca_mgm::Exception

Public Member Functions

 RuntimeException (const char *file, int line, const char *msg, int errorCode=0, const ca_mgm::Exception *otherException=0)
 
virtual ~RuntimeException () throw ()
 
virtual const char * type () const
 
- Public Member Functions inherited from ca_mgm::Exception
 Exception (const Exception &e)
 
Exceptionoperator= (const Exception &rhs)
 
virtual ~Exception () throw ()
 
virtual const char * getMessage () const
 
virtual std::string getFullMessage () const
 
const char * getFile () const
 
int getLine () const
 
int getErrorCode () const
 
virtual const char * what () const throw ()
 

Additional Inherited Members

- Protected Member Functions inherited from ca_mgm::Exception
 Exception (const char *file, int line, const char *msg, int errorCode, const Exception *otherException=0)
 

Detailed Description

RuntimeException class declaration.

A RuntimeException is thrown when the error results from a condition that the client could not have tested before calling the failing code.

Constructor & Destructor Documentation

ca_mgm::RuntimeException::RuntimeException ( const char *  file,
int  line,
const char *  msg,
int  errorCode = 0,
const ca_mgm::Exception otherException = 0 
)
virtual ca_mgm::RuntimeException::~RuntimeException ( )
throw (
)
virtual

Member Function Documentation

virtual const char* ca_mgm::RuntimeException::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 ca_mgm::Exception.


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