INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
libs/orcaice/exceptions.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2009 Alex Brooks, Alexei Makarenko, Tobias Kaupp 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef ORCAICE_EXCEPTIONS_H 00012 #define ORCAICE_EXCEPTIONS_H 00013 00014 #include <gbxutilacfr/exceptions.h> 00015 00016 namespace orcaice 00017 { 00018 00023 class ConfigFileException : public gbxutilacfr::Exception 00024 { 00025 public: 00026 ConfigFileException(const char *file, const char *line, const char *message) 00027 : Exception( file, line, message ) {}; 00028 ConfigFileException(const char *file, const char *line, const std::string &message) 00029 : Exception( file, line, message ) {}; 00030 }; 00031 00033 class NetworkException : public gbxutilacfr::Exception 00034 { 00035 public: 00036 NetworkException(const char *file, const char *line, const char *message) 00037 : Exception( file, line, message ) {}; 00038 NetworkException(const char *file, const char *line, const std::string &message) 00039 : Exception( file, line, message ) {}; 00040 }; 00041 00044 class ComponentDeactivatingException : public gbxutilacfr::Exception 00045 { 00046 public: 00047 ComponentDeactivatingException(const char *file, const char *line, const char *message) 00048 : Exception( file, line, message ) {}; 00049 ComponentDeactivatingException(const char *file, const char *line, const std::string &message) 00050 : Exception( file, line, message ) {}; 00051 }; 00052 00053 00058 class TypeMismatchException : public orcaice::NetworkException 00059 { 00060 public: 00061 TypeMismatchException(const char *file, const char *line, const char *message) 00062 : NetworkException( file, line, message ) {}; 00063 TypeMismatchException(const char *file, const char *line, const std::string &message) 00064 : NetworkException( file, line, message ) {}; 00065 }; 00066 00067 } // namespace 00068 00069 00070 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)