ThePEG  1.8.0
Switch.xh
1 // -*- C++ -*-
2 //
3 // Switch.xh is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2011 Leif Lonnblad
5 //
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.
8 //
9 #ifndef ThePEG_Switch_XH
10 #define ThePEG_Switch_XH
11 //
12 // This is the declarations of the exception classes used by the
13 // Switch class.
14 //
15 
16 
17 #include "InterfaceBase.xh"
18 
19 namespace ThePEG {
20 
24 struct SwExSetOpt: public InterfaceException {
26  SwExSetOpt(const InterfaceBase & i, const InterfacedBase & o, long v);
27 };
28 
31 struct SwExSetUnknown: public InterfaceException {
33  SwExSetUnknown(const InterfaceBase & i, const InterfacedBase & o, long v);
34 };
35 
38 struct SwExGetUnknown: public InterfaceException {
40  SwExGetUnknown(const InterfaceBase & i, const InterfacedBase & o,
41  const char * s);
42 };
45 }
46 
47 #endif /* ThePEG_Switch_XH */
48