thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
Direction.xh
1 // -*- C++ -*-
2 //
3 // Direction.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_Direction_XH
10 #define ThePEG_Direction_XH
11 //
12 // This is the declarations of the exception classes used by the
13 // Direction class.
14 //
15 
16 #include "ThePEG/Utilities/Exception.h"
17 
18 namespace ThePEG {
19 
20 /** @cond EXCEPTIONCLASSES */
21 /** Exception class used by Direction when multiple objects of the
22  * same direction class is requested. */
23 struct MultipleDirectionException: public Exception {
24  /** Constructor */
25  MultipleDirectionException(int);
26 };
27 
28 /** Exception class used by Direction when an undefined direction is
29  * used. */
30 struct UndefinedDirectionException: public Exception {
31  /** Constructor */
32  UndefinedDirectionException(int);
33 };
34 /** @endcond */
35 
36 }
37 
38 #endif /* ThePEG_Direction_XH */
39