Fawkes API
Fawkes Development Version
|
24 #ifndef _BLACKBOARD_EXCEPTIONS_H_
25 #define _BLACKBOARD_EXCEPTIONS_H_
27 #include <core/exception.h>
35 class BlackBoardMemMgrInvalidPointerException :
public Exception
49 class BBInconsistentMemoryException :
public Exception
102 :
Exception(
"Interface of type '%s' not found.%s", type, add_msg)
116 :
Exception(
"Interface versions do not match, need to update and recompile interfaces?")
133 append(
"There is already a writer on interface '%s' of type '%s'",
id, type);
159 append(
"No writing instance for interface %s::%s", type,
id);
BlackBoardInterfaceNotFoundException(const char *type, const char *add_msg="")
Constructor.
Exception()
Constructor for subclasses.
BlackBoardWriterActiveException(const char *id, const char *type)
Constructor.
BlackBoardInterfaceVersionMismatchException()
Constructor.
Thrown if no writer interface is alive.
Thrown if no definition of interface or interface generator found.
BBInconsistentMemoryException(const char *msg)
Constructor.
BlackBoardMemMgrInvalidPointerException()
Constructor.
void append(const char *format,...)
Append messages to the message list.
Thrown if shared memory could not be opened.
BlackBoardNoWritingInstanceException(const char *type, const char *id)
Constructor.
Thrown if BlackBoard is opened as non-master with no master alive.
Thrown if versions do not match.
BlackBoardNoMasterAliveException()
Constructor.
Thrown if BlackBoard is not master and master operation has been requested.
BBMemMgrCannotOpenException()
Constructor.
BBNotMasterException(const char *msg)
Constructor.
Thrown if a writer is already active on an interface that writing has been requested for.