3 // Parameter.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_Parameter_XH
10 #define ThePEG_Parameter_XH
12 // This is the declarations of the exception classes used by the
16 #include "InterfaceBase.xh"
20 /** @cond EXCEPTIONCLASSES */
21 /** Exception class used by Parameter if variable is set outside the
22 * specified limits. */
23 struct ParExSetLimit: public InterfaceException {
24 /** Standard constructor. */
26 ParExSetLimit(const InterfaceBase & i,
27 const InterfacedBase & o, T v);
30 /** Exception class used by Parameter if an unkown error
32 struct ParExSetUnknown: public InterfaceException {
33 /** Standard constructor. */
35 ParExSetUnknown(const InterfaceBase & i,
36 const InterfacedBase & o, T val);
39 /** Exception class used by Parameter if an unkown error
41 struct ParExGetUnknown: public InterfaceException {
42 /** Standard constructor. */
43 ParExGetUnknown(const InterfaceBase & i,
44 const InterfacedBase & o, const char *);
50 #endif /* ThePEG_Parameter_XH */