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
|
hydrolibs/hydroglu/exceptions.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2007-2009 Tom Burdick <thomas.burdick@gmail.com> 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 HYDRO_GLU_EXCEPTIONS_H 00012 #define HYDRO_GLU_EXCEPTIONS_H 00013 00014 #include <gbxutilacfr/exceptions.h> 00015 00016 namespace hydroglu 00017 { 00018 00020 class UniformNotFoundException : public gbxutilacfr::Exception 00021 { 00022 public: 00023 UniformNotFoundException(const char *file, const char *line, const char *message) 00024 : Exception( file, line, message ) {}; 00025 UniformNotFoundException(const char *file, const char *line, const std::string &message) 00026 : Exception( file, line, message ) {}; 00027 }; 00028 00030 class CompileException : public gbxutilacfr::Exception 00031 { 00032 public: 00033 CompileException(const char *file, const char *line, const char *message) 00034 : Exception( file, line, message ) {}; 00035 CompileException(const char *file, const char *line, const std::string &message) 00036 : Exception( file, line, message ) {}; 00037 }; 00038 00040 class LinkException : public gbxutilacfr::Exception 00041 { 00042 public: 00043 LinkException(const char *file, const char *line, const char *message) 00044 : Exception( file, line, message ) {}; 00045 LinkException(const char *file, const char *line, const std::string &message) 00046 : Exception( file, line, message ) {}; 00047 }; 00048 00050 class FileNotFoundException : public gbxutilacfr::Exception 00051 { 00052 public: 00053 FileNotFoundException(const char *file, const char *line, const char *message) 00054 : Exception( file, line, message ) {}; 00055 FileNotFoundException(const char *file, const char *line, const std::string &message) 00056 : Exception( file, line, message ) {}; 00057 }; 00058 00060 class FileReadException : public gbxutilacfr::Exception 00061 { 00062 public: 00063 FileReadException(const char *file, const char *line, const char *message) 00064 : Exception( file, line, message ) {}; 00065 FileReadException(const char *file, const char *line, const std::string &message) 00066 : Exception( file, line, message ) {}; 00067 }; 00068 00069 } 00070 00071 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)