libflom: FLoM (Free Lock Manager) client library

flom::FlomException Class Reference

#include <FlomHandle.hh>

Inherits exception.

Public Member Functions

 FlomException (int ret_cod)
 
int getReturnCode ()
 
string getReturnCodeText ()
 

Detailed Description

FLoM exception class, it extends standard exception class and adds the return code property that maps on C API

Definition at line 43 of file FlomHandle.hh.

Constructor & Destructor Documentation

flom::FlomException::FlomException ( int  ret_cod)
inline
Parameters
ret_codthe return code of the failed C function

Definition at line 59 of file FlomHandle.hh.

Member Function Documentation

int flom::FlomException::getReturnCode ( )
inline

Retrieve the numeric return code of the failed C function

Definition at line 64 of file FlomHandle.hh.

string flom::FlomException::getReturnCodeText ( )
inline

Retrieve the description associated to the numeric return code of the failed C function

Definition at line 69 of file FlomHandle.hh.

References flom_strerror().


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

Copyright © 2013-2020, Christian Ferrari tiian@users.sourceforge.net