Warning, /include/ThePEG/Interface/InterfacedBase.xh is written in an unsupported language. File is not indexed.
0001 // -*- C++ -*-
0002 //
0003 // InterfacedBase.xh is a part of ThePEG - Toolkit for HEP Event Generation
0004 // Copyright (C) 1999-2019 Leif Lonnblad
0005 //
0006 // ThePEG is licenced under version 3 of the GPL, see COPYING for details.
0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
0008 //
0009 #ifndef ThePEG_InterfacedBase_XH
0010 #define ThePEG_InterfacedBase_XH
0011 //
0012 // This is the declarations of the exception classes used by the
0013 // InterfacedBase class.
0014 //
0015
0016 // #include "InterfacedBase.fh"
0017 #include "InterfaceBase.h"
0018
0019 namespace ThePEG {
0020
0021 /** @cond EXCEPTIONCLASSES */
0022 /** Exception base class used if something goes wrong in the setup phase. */
0023 struct SetupException: public InterfaceException {
0024 /** Constructor. */
0025 SetupException() {};
0026 };
0027
0028 /** Exception base class used if something goes wrong in the setup phase. */
0029 struct UpdateException: public InterfaceException {
0030 /** Constructor. */
0031 UpdateException() {};
0032 };
0033
0034 /** Exception base class used if something goes wrong with rebinding
0035 pointers in the setup phase. */
0036 struct RebindException: public InterfaceException {
0037 /** Constructor. */
0038 RebindException() {};
0039 };
0040
0041 /** Exception base class used if something goes wrong in the setup phase. */
0042 struct InitException: public InterfaceException {
0043 /** Constructor. */
0044 InitException() {};
0045 };
0046 /** @endcond */
0047
0048 }
0049
0050 #endif /* ThePEG_InterfacedBase_XH */
0051