General IRI utilities
threadexceptions.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 EVENT_EXCEPTIONS
20 #define EVENT_EXCEPTIONS
21 
22 #include "exceptions.h"
23 #include <string>
24 
43 {
44  public:
74  CThreadException(const std::string& where,const std::string& error_msg,const std::string& thread_id);
75 };
76 
95 {
96  public:
126  CThreadServerException(const std::string& where,const std::string& error_msg,const std::string& thread_id);
127 };
128 
129 #endif
Thread server exception class.
Thread exception class.
CThreadServerException(const std::string &where, const std::string &error_msg, const std::string &thread_id)
Constructor.
CThreadException(const std::string &where, const std::string &error_msg, const std::string &thread_id)
Constructor.
std::string error_msg
Exception error message.
Definition: exceptions.h:90
Generic exception.
Definition: exceptions.h:76