exception_cpe.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _EXCEPTION_CPE_HPP_
00021 #define _EXCEPTION_CPE_HPP_
00022
00023 #include <iostream>
00024 #include <string>
00025
00027 namespace cpe
00028 {
00030 class exception_cpe
00031 {
00032 public:
00033
00035 exception_cpe();
00037 exception_cpe(const std::string& msg,const std::string& file,const std::string& caller,const int& line);
00038
00040 std::string info() const;
00041
00042 private:
00043
00045 std::string message;
00047 std::string caller;
00049 std::string file;
00051 std::string line;
00052
00053 };
00054 }
00055
00056 #endif