ThePEG  1.8.0
BaseRepository.xh
1 // -*- C++ -*-
2 //
3 // BaseRepository.xh is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2011 Leif Lonnblad
5 //
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.
8 //
9 #ifndef ThePEG_BaseRepository_XH
10 #define ThePEG_BaseRepository_XH
11 //
12 // This is the declarations of the exception classes used by the
13 // BaseRepository class.
14 //
15 
16 #include "ThePEG/Interface/InterfaceBase.xh"
17 
18 namespace ThePEG {
19 
23 struct BadClassClone: public InterfaceException {
25  BadClassClone(const InterfacedBase &);
26 };
27 
30 struct BadClone: public InterfaceException {
32  BadClone(const InterfacedBase &);
33 };
34 
37 struct RepoNameException: public InterfaceException {
39  RepoNameException(string);
40 };
41 
44 struct RepositoryNoDirectory: public InterfaceException {
46  RepositoryNoDirectory(string);
47 };
48 
51 struct RepositoryNotFound: public InterfaceException {
53  RepositoryNotFound(string name);
54 };
55 
58 struct RepositoryClassMisMatch: public InterfaceException {
60  RepositoryClassMisMatch(const InterfacedBase & o, string name);
61 };
64 }
65 
66 #endif /* ThePEG_BaseRepository_XH */
67