Base class for all RCF exceptions. More...
#include <Exception.hpp>
Public Member Functions | |
virtual std::unique_ptr< Exception > | clone () const |
Deep clone of the exception. More... | |
bool | good () const |
Returns true if there is an error condition. Otherwise returns false. More... | |
bool | bad () const |
Returns true if there is not an error condition. Otherwise returns false. More... | |
void | clear () |
Clears the error condition. More... | |
const char * | what () const throw () |
Returns an error message. More... | |
int | getErrorId () const |
Returns the RCF error ID of the error. More... | |
std::string | getErrorMessage () const |
Returns an error message. More... | |
Base class for all RCF exceptions.
|
virtual |
Deep clone of the exception.
Reimplemented in RCF::VersioningException, and RCF::RemoteException.
bool RCF::Exception::good | ( | ) | const |
Returns true if there is an error condition. Otherwise returns false.
bool RCF::Exception::bad | ( | ) | const |
Returns true if there is not an error condition. Otherwise returns false.
void RCF::Exception::clear | ( | ) |
Clears the error condition.
const char* RCF::Exception::what | ( | ) | const | |
throw | ( | |||
) |
Returns an error message.
int RCF::Exception::getErrorId | ( | ) | const |
Returns the RCF error ID of the error.
std::string RCF::Exception::getErrorMessage | ( | ) | const |
Returns an error message.