Remote Call Framework 3.1
RCF::Exception Class Reference

Base class for all RCF exceptions. More...

#include <Exception.hpp>

Inheritance diagram for RCF::Exception:
RCF::RemoteException RCF::VersioningException

Public Member Functions

virtual std::unique_ptr< Exceptionclone () 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...
 

Detailed Description

Base class for all RCF exceptions.

Member Function Documentation

◆ clone()

virtual std::unique_ptr<Exception> RCF::Exception::clone ( ) const
virtual

Deep clone of the exception.

Reimplemented in RCF::VersioningException, and RCF::RemoteException.

◆ good()

bool RCF::Exception::good ( ) const

Returns true if there is an error condition. Otherwise returns false.

◆ bad()

bool RCF::Exception::bad ( ) const

Returns true if there is not an error condition. Otherwise returns false.

◆ clear()

void RCF::Exception::clear ( )

Clears the error condition.

◆ what()

const char* RCF::Exception::what ( ) const
throw (
)

Returns an error message.

◆ getErrorId()

int RCF::Exception::getErrorId ( ) const

Returns the RCF error ID of the error.

◆ getErrorMessage()

std::string RCF::Exception::getErrorMessage ( ) const

Returns an error message.


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