3 // Direction.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_Direction_XH
10 #define ThePEG_Direction_XH
12 // This is the declarations of the exception classes used by the
16 #include "ThePEG/Utilities/Exception.h"
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 {
25 MultipleDirectionException(int);
28 /** Exception class used by Direction when an undefined direction is
30 struct UndefinedDirectionException: public Exception {
32 UndefinedDirectionException(int);
38 #endif /* ThePEG_Direction_XH */