INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
gbxsmartbatteryacfr/exceptions.h00001 /* 00002 * GearBox Project: Peer-Reviewed Open-Source Libraries for Robotics 00003 * http://gearbox.sf.net/ 00004 * Copyright (c) 2004-2010 Tobias Kaupp 00005 * 00006 * This distribution is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef GBX_SMARTBATTERYACFR_EXCEPTIONS_H 00012 #define GBX_SMARTBATTERYACFR_EXCEPTIONS_H 00013 00014 #include <gbxutilacfr/exceptions.h> 00015 00016 namespace gbxsmartbatteryacfr { 00017 00019 class HardwareReadingException : public gbxutilacfr::Exception 00020 { 00021 public: 00022 HardwareReadingException( const char *file, const char *line, const char *message ) 00023 : Exception( file, line, message ) {} 00024 }; 00025 00027 class ParsingException : public gbxutilacfr::Exception 00028 { 00029 public: 00030 ParsingException( const char *file, const char *line, const char *message ) 00031 : Exception( file, line, message ) {} 00032 }; 00033 00034 } 00035 00036 #endif 00037 |