00001 // -*- C++ -*- 00002 // 00003 // Direction.xh is a part of ThePEG - Toolkit for HEP Event Generation 00004 // Copyright (C) 1999-2007 Leif Lonnblad 00005 // 00006 // ThePEG is licenced under version 2 of the GPL, see COPYING for details. 00007 // Please respect the MCnet academic guidelines, see GUIDELINES for details. 00008 // 00009 #ifndef ThePEG_Direction_XH 00010 #define ThePEG_Direction_XH 00011 // 00012 // This is the declarations of the exception classes used by the 00013 // Direction class. 00014 // 00015 00016 #include "ThePEG/Utilities/Exception.h" 00017 00018 namespace ThePEG { 00019 00023 struct MultipleDirectionException: public Exception { 00025 MultipleDirectionException(int); 00026 }; 00027 00030 struct UndefinedDirectionException: public Exception { 00032 UndefinedDirectionException(int); 00033 }; 00036 } 00037 00038 #endif /* ThePEG_Direction_XH */ 00039