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

SIG_RobotExceptions.h

00001 #ifndef SIGEL_ROBOT_SIG_ROBOTEXCEPTIONS_H
00002 #define SIGEL_ROBOT_SIG_ROBOTEXCEPTIONS_H
00003 
00004 #include <qstring.h>
00005 #include "SIGEL_Tools/SIG_Exception.h"
00006 
00007 /* Kommentare fallen wegen Dringlichkeit heute mal aus. */
00008 
00009 using SIGEL_Tools::SIG_Exception;
00010 
00011 namespace SIGEL_Robot {
00012         /*
00013         class SIG_MultipleRootsError : public SIG_Exception {
00014         public:
00015                 SIG_MultipleRootsError (QString file,
00016                                         int line,
00017                                         QString olderone,
00018                                         QString newerone)
00019                         : SIG_Exception (file, line,
00020                                          "\"" + newerone +
00021                                          "\" redefines previous root link \"" +
00022                                          olderone + "\".")
00023                         { }
00024         };
00025         */
00026 
00027         class SIG_UnstreamingError : public SIG_Exception {
00028         public:
00029                 SIG_UnstreamingError (QString file, int line,
00030                                       QString message)
00031                         : SIG_Exception (file, line,
00032                                          "Unstreaming error: " + message + ".")
00033                         { }
00034         };
00035 
00036         class SIG_CannotMirtich : public SIG_Exception {
00037         public:
00038                 SIG_CannotMirtich (QString file,
00039                                    int line,
00040                                    QString dxf)
00041                         : SIG_Exception (file, line,
00042                                          "Cannot calculate Mirtich's properties for \"" + dxf + "\".")
00043                         { }
00044         };
00045 
00046         class SIG_InitialLocationError : public SIG_Exception {
00047         public:
00048                 SIG_InitialLocationError (QString file,
00049                                           int line,
00050                                           QString message)
00051                         : SIG_Exception (file, line,
00052                                          "Cannot determine initial location: " + message)
00053                         { }
00054         };
00055 
00056         class SIG_InvalidKinematicsError : public SIG_Exception {
00057         public:
00058                 SIG_InvalidKinematicsError (QString file,
00059                                             int line,
00060                                             QString linkname)
00061                         : SIG_Exception (file, line,
00062                                          "Ambiguous initial values for \"" +
00063                                          linkname + "\".")
00064                         { }
00065         };
00066 }
00067 
00068 #endif

Generated at Mon Sep 3 01:32:30 2001 for PG 368 - SIGEL by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000