3 // PDFBase.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_PDFBase_XH
10 #define ThePEG_PDFBase_XH
12 // This is the declarations of the exception classes used by the
16 #include "ThePEG/Interface/InterfaceBase.xh"
20 /** @cond EXCEPTIONCLASSES */
21 /** Exception class used by RemnantHandler if unable to handle a
22 specified particle. */
23 struct RemnantHandlerCantHandle: public InterfaceException {
24 /** Standard constructor. */
25 RemnantHandlerCantHandle(string, string);
28 /** Exception class used by PDFBase if unable to handle a
29 specified particle. */
30 struct PDFWrongParticle: public InterfaceException {
31 /** Standard constructor. */
32 PDFWrongParticle(string p, string pdf, string mess);
35 /** Exception class used by PDFBase if values were outside limits. */
36 struct PDFRange: public Exception {
37 /** Standard constructor. */
38 PDFRange(string pdf, string var, double val, double lim);
44 #endif /* ThePEG_PDFBase_XH */