COPASI API  4.16.103
CCopasiException.h
Go to the documentation of this file.
1 /* Begin CVS Header
2  $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/utilities/CCopasiException.h,v $
3  $Revision: 1.6 $
4  $Name: $
5  $Author: shoops $
6  $Date: 2010/09/16 18:26:45 $
7  End CVS Header */
8 
9 // Copyright (C) 2010 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., University of Heidelberg, and The University
11 // of Manchester.
12 // All rights reserved.
13 
14 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
15 // Properties, Inc. and EML Research, gGmbH.
16 // All rights reserved.
17 
18 /**
19  * CCopasiException class. A more elaborate class description.
20  */
21 
22 // New Class for C++ exception handling.
23 // (C) Stefan Hoops 2001
24 
25 #ifndef COPASI_CCopasiException
26 #define COPASI_CCopasiException
27 
28 #include "CCopasiMessage.h"
29 
31 {
32 private:
33  /**
34  * Default consructor.
35  */
37 
38 public:
39  /**
40  * Specific consructor. Creates a exception with a message.
41  * @param const CCopasiMessage & message
42  */
43  CCopasiException(const CCopasiMessage & message);
44 
45  /**
46  * Destructor.
47  */
49 
50  /**
51  * Retrieves the Message associated with the exception
52  * @return const CCopasiMessage & message
53  */
54  const CCopasiMessage & getMessage() const;
55 
56 private:
58 };
59 #endif // COPASI_CCopasiException
const CCopasiMessage & getMessage() const
const CCopasiMessage mMessage