Robot Simulator of the Robotics Group for Self-Organization of Control: exceptions.h File Reference

# exceptions.h File Reference

Go to the source code of this file.

## Classes
class | IException
## Namespaces
namespace | lpzrobots

| forward declarations
## Defines
#define | EXCEPTION_TEMPLATE(class_name)
## Functions
| EXCEPTION_TEMPLATE (IndexOutOfBoundsException)
| EXCEPTION_TEMPLATE (InvalidArgumentException)
| EXCEPTION_TEMPLATE (DimensionMismatchException)

## Define Documentation

#define EXCEPTION_TEMPLATE | ( | class_name |  | ) |

Value:

    class class_name : public IException {                                      \
       public:                                                                    \
        inline virtual void raise() const { throw *this; }                        \
      };