UnCoVer (Using Coverability for Verification)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
InvalidStateException.h
1 /***************************************************************************
2  * Copyright (C) 2014 by Jan Stückrath <jan.stueckrath@uni-due.de> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program; if not, write to the *
16  * Free Software Foundation, Inc., *
17  * 51 Franklin St, Fifth Floor, Boston, MA 02110, USA *
18  ***************************************************************************/
19 
20 #ifndef INVALIDSTATEEXCEPTION_H_
21 #define INVALIDSTATEEXCEPTION_H_
22 
23 #include "GenericMessageException.h"
24 
25 namespace uncover {
26  namespace basic_types {
27 
36 
37  public:
38 
43  InvalidStateException(string messageBody);
44 
48  virtual ~InvalidStateException() throw();
49 
50  };
51 
52  } /* namespace exceptions */
53 } /* namespace uncover */
54 #endif /* TIMERSTATEEXCEPTION_H_ */
InvalidStateException(string messageBody)
Creates a new InvalidStateException with the specified string as message.
Definition: InvalidStateException.cpp:25
virtual ~InvalidStateException()
Destroys the current instance of this InvalidStateException.
Definition: InvalidStateException.cpp:28
This exception is thrown if a function of an object was called, but the object was not in a valid sta...
Definition: InvalidStateException.h:35
This class serves as a superclass of all Exceptions.
Definition: GenericMessageException.h:33