thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
DecayMode.xh
1 // -*- C++ -*-
2 //
3 // DecayMode.xh is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2019 Leif Lonnblad
5 //
6 // ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef ThePEG_DecayMode_XH
10 #define ThePEG_DecayMode_XH
11 //
12 // This is the declarations of the exception classes used by the
13 // DecayMode class.
14 //
15 
16 #include "ThePEG/Interface/InterfaceBase.xh"
17 
18 namespace ThePEG {
19 
20 /** @cond EXCEPTIONCLASSES */
21 /** Exception class used if a DecayMode is found to be inconsistent
22  during the setup phase. */
23 class DecModNoAccept: public UpdateException {
24 public:
25  /** Standard constructor. */
26  DecModNoAccept(string, string);
27 };
28 
29 /** Exception class used if a DecayMode is found to be inconsistent
30  during the setup phase. */
31 class DecModSetupNoAccept: public SetupException {
32 public:
33  /** Standard constructor. */
34  DecModSetupNoAccept(string, string);
35 };
36 
37 /** Exception class used by DecayMode if rebinding fails. */
38 class DecModRebind: public RebindException {
39 public:
40  /** Standard constructor. */
41  DecModRebind(string, string);
42 };
43 /** @endcond */
44 
45 }
46 
47 #endif /* ThePEG_DecayMode_XH */
48