thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
InterfacedBase.xh
1// -*- C++ -*-
2//
3// InterfacedBase.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_InterfacedBase_XH
10#define ThePEG_InterfacedBase_XH
11//
12// This is the declarations of the exception classes used by the
13// InterfacedBase class.
14//
15
16// #include "InterfacedBase.fh"
17#include "InterfaceBase.h"
18
19namespace ThePEG {
20
21/** @cond EXCEPTIONCLASSES */
22/** Exception base class used if something goes wrong in the setup phase. */
23struct SetupException: public InterfaceException {
24 /** Constructor. */
25 SetupException() {};
26};
27
28/** Exception base class used if something goes wrong in the setup phase. */
29struct UpdateException: public InterfaceException {
30 /** Constructor. */
31 UpdateException() {};
32};
33
34/** Exception base class used if something goes wrong with rebinding
35 pointers in the setup phase. */
36struct RebindException: public InterfaceException {
37 /** Constructor. */
38 RebindException() {};
39};
40
41/** Exception base class used if something goes wrong in the setup phase. */
42struct InitException: public InterfaceException {
43 /** Constructor. */
44 InitException() {};
45};
46/** @endcond */
47
48}
49
50#endif /* ThePEG_InterfacedBase_XH */
51