PolyBoRi
PBoRiGenericError.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
31 //*****************************************************************************
32 
33 // load PolyBoRi settings
34 #include "pbori_defs.h"
35 
36 // Get runtime-definable error type
37 #include "PBoRiError.h"
38 
39 #ifndef PBoRiGenericError_h_
40 #define PBoRiGenericError_h_
41 
42 
44 
52 template <CTypes::errornum_type ErrorCode>
54  public PBoRiError {
55 public:
58 
61 
62  enum { error_code = ErrorCode };
63 
65  PBoRiGenericError(): PBoRiError(error_code) {}
66 
67 };
68 
70 
71 #endif // of #ifndef PBoRiGenericError_h_