IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Sample_BenchmarkException.h
1 // Sample_BenchmarkException.h:
3 // ----------------------------
4 //
13 
14 #ifndef __SAMPLE_BENCHMARK_SAMPLE_BENCHMARKEXCEPTION_H__
15 #define __SAMPLE_BENCHMARK_SAMPLE_BENCHMARKEXCEPTION_H__
16 
18 #include <IPSDKUtil/Logger/BaseException.h>
19 
20 namespace ipsdk {
21 namespace sample {
22 
25 
27 {
28 public:
31 
34 
40  Sample_BenchmarkException(const std::string& msg,
41  const char* functionName,
42  const char* filePath,
43  ipsdk::ipUInt32 lineIdx) :
44  BaseException(msg, functionName, filePath, lineIdx) {}
45 
52  Sample_BenchmarkException(const std::string& msg,
53  const char* functionName,
54  const char* filePath,
55  ipsdk::ipUInt32 lineIdx,
56  const BaseException& exceptionFromReThrow) :
57  BaseException(msg, functionName, filePath, lineIdx, exceptionFromReThrow) {}
58 
65  Sample_BenchmarkException(const std::string& msg,
66  const char* functionName,
67  const char* filePath,
68  ipsdk::ipUInt32 lineIdx,
69  const std::exception& exceptionFromReThrow) :
70  BaseException(msg, functionName, filePath, lineIdx, exceptionFromReThrow) {}
71 
73  virtual ~Sample_BenchmarkException() throw() {}
74 
76 
77 // methods
78 public:
79 
80 // attributes
81 protected:
82 
83 };
84 
87 
88 } // end of namespace sample
89 } // end of namespace ipsdk
90 
91 #endif // __SAMPLE_BENCHMARK_SAMPLE_BENCHMARKEXCEPTION_H__
Definition of import/export macro for library.
Exception class for executable Sample_Benchmark.
Definition: Sample_BenchmarkException.h:26
Sample_BenchmarkException(const std::string &msg, const char *functionName, const char *filePath, ipsdk::ipUInt32 lineIdx, const std::exception &exceptionFromReThrow)
Constructor for rethrow of std::exception with message and source code location.
Definition: Sample_BenchmarkException.h:65
#define SAMPLE_BENCHMARK_API
Import/Export macro for library Sample_Benchmark.
Definition: Sample_BenchmarkExports.h:25
Sample_BenchmarkException(const std::string &msg, const char *functionName, const char *filePath, ipsdk::ipUInt32 lineIdx, const BaseException &exceptionFromReThrow)
Constructor for rethrow of ipsdk::BaseException with message and source code location.
Definition: Sample_BenchmarkException.h:52
Sample_BenchmarkException()
Default constructor.
Definition: Sample_BenchmarkException.h:33
virtual ~Sample_BenchmarkException()
Destructor.
Definition: Sample_BenchmarkException.h:73
Sample_BenchmarkException(const std::string &msg, const char *functionName, const char *filePath, ipsdk::ipUInt32 lineIdx)
Constructor with message and source code location.
Definition: Sample_BenchmarkException.h:40
uint32_t ipUInt32