General IRI utilities
logexceptions.h
1 // Copyright (C) 2009-2010 Institut de Robòtica i Informàtica Industrial, CSIC-UPC.
2 // Author Sergi Hernandez (shernand@iri.upc.edu)
3 // All rights reserved.
4 //
5 // This file is part of iriutils
6 // iriutils is free software: you can redistribute it and/or modify
7 // it under the terms of the GNU Lesser General Public License as published by
8 // the Free Software Foundation, either version 3 of the License, or
9 // at your option) any later version.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public License
17 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 #ifndef _LOG_EXCEPTIONS
20 #define _LOG_EXCEPTIONS
21 
22 #include "exceptions.h"
23 
40 class CLogException : public CException
41 {
42  public:
71  CLogException(const std::string& where,const std::string& error_msg,const std::string& filename);
72 };
73 
74 #endif
Log exception class.
Definition: logexceptions.h:40
std::string error_msg
Exception error message.
Definition: exceptions.h:90
CLogException(const std::string &where, const std::string &error_msg, const std::string &filename)
Class constructor.
Generic exception.
Definition: exceptions.h:76