3 // DecayMode.xh is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2011 Leif Lonnblad
6 // ThePEG is licenced under version 2 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
9 #ifndef ThePEG_DecayMode_XH
10 #define ThePEG_DecayMode_XH
12 // This is the declarations of the exception classes used by the
16 #include "ThePEG/Interface/InterfaceBase.xh"
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 {
25 /** Standard constructor. */
26 DecModNoAccept(string, string);
29 /** Exception class used if a DecayMode is found to be inconsistent
30 during the setup phase. */
31 class DecModSetupNoAccept: public SetupException {
33 /** Standard constructor. */
34 DecModSetupNoAccept(string, string);
37 /** Exception class used by DecayMode if rebinding fails. */
38 class DecModRebind: public RebindException {
40 /** Standard constructor. */
41 DecModRebind(string, string);
47 #endif /* ThePEG_DecayMode_XH */