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

SIG_RobotIOExceptions.cpp

00001 #include "SIGEL_RobotIO/SIG_RobotIOExceptions.h"
00002 
00003 namespace SIGEL_RobotIO {
00004         SIG_FileNotFoundError::SIG_FileNotFoundError (QString file,
00005                                                       int line,
00006                                                       QString unfound)
00007                 : SIG_Exception (file, line,
00008                                  "File \"" + unfound +
00009                                  "\" could not be loaded.")
00010         { }
00011 
00012         SIG_SyntaxError::SIG_SyntaxError (QString file,
00013                                           int line,
00014                                           QString msg,
00015                                           QString filenm,
00016                                           int srcln)
00017                 : SIG_Exception (file, line,
00018                                  "Syntax error in file \"" +
00019                                  filenm + "\" in line " +
00020                                  SIG_SyntaxError::int2string (srcln) +
00021                                  ": " + msg + ".")
00022         { }
00023 
00024         QString SIG_SyntaxError::int2string (int i)
00025         {
00026                 QString s;
00027                 s.setNum (i);
00028                 return s;
00029         }
00030 
00031         SIG_SemanticError::SIG_SemanticError (QString file,
00032                                               int line,
00033                                               QString msg)
00034                 : SIG_Exception (file, line,
00035                                  "Semantic error: " + msg + ".")
00036         { }
00037 
00038         SIG_CorruptedStreamError::SIG_CorruptedStreamError (QString file,
00039                                                             int line,
00040                                                             QString msg)
00041                 : SIG_Exception (file, line,
00042                                  "Internal stream error: " + msg)
00043         { }
00044 
00045         SIG_MultipleChainsError::SIG_MultipleChainsError (QString file,
00046                                                          int line,
00047                                                          QString msg)
00048                 : SIG_Exception (file, line,
00049                                  "Robot kinematics error after initiation: " +
00050                                  msg)
00051         { }
00052 }

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