Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

rt::ErrorHandler Class Reference

Handles all kinds of errors. More...

#include <robbase.h>

Inheritance diagram for rt::ErrorHandler:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual void handleBotError (const Bot *affectedBot, ExecReturnType type) const=0
 This method is called when a robot is deleted due to a RoboCom fatal error.

virtual void handleLoadError (const lrt::String &affectedFile, const lrt::String &message) const=0
 This method is called when a robot file cannot be loaded due to a syntax error.

virtual void handleSystemError (int num, const lrt::String &message) const=0
 This method is called when a system error was detected; the application should exit.

virtual void handleWarning (const lrt::String &message) const
 This method is called when the user should be warned about an unexpected, but recoverable event. More...


Detailed Description

Handles all kinds of errors.


Member Function Documentation

virtual void rt::ErrorHandler::handleWarning (  const lrt::String &    message )  const [inline, virtual]
 

This method is called when the user should be warned about an unexpected, but recoverable event.

For example, if a specified robot file cannot be found (it can just be ignored).


The documentation for this class was generated from the following file:
This is the RoboTour API documentation version 0.1 • Copyright (C) by Florian Fischer