Class FRIException

Class Documentation

class FRIException

Standard exception for the FRI Client.

Note

For realtime considerations the internal message buffer is static. So don’t use this exception in more than one thread per process.

Public Functions

inline FRIException(const char *message)

FRIException Constructor.

Parameters:

message – Error message

inline FRIException(const char *message, const char *param1)

FRIException Constructor.

Parameters:
  • message – Error message which may contain one “%s” parameter

  • param1 – First format parameter for parameter message.

inline FRIException(const char *message, const char *param1, const char *param2)

FRIException Constructor.

Parameters:
  • message – Error message which may contain two “%s” parameter

  • param1 – First format parameter for parameter message.

  • param2 – Second format parameter for parameter message.

inline const char *getErrorMessage() const

Get error string.

Returns:

Error message stored in the exception.

inline virtual ~FRIException()

Virtual destructor.

Protected Static Attributes

static char _buffer[1024]