MCPcopy Create free account
hub / github.com/Persper/code-analytics / Exception

Class Exception

test/cpp_test_repo/D/Exceptions.h:8–23  ·  view source on GitHub ↗

????????????û????????????

Source from the content-addressed store, hash-verified

6
7// ????????????û????????????
8class Exception : public std::exception
9{
10 std::string msg;
11public:
12 // ???????????????????????
13 Exception() : msg("?????????????") {}
14 // ???????????????????????????
15 explicit Exception(const std::string& message) : msg(message)
16 {
17#if _DEBUG
18 std::cerr << "Exception constructed: " << message << std::endl;
19#endif
20 }
21 ~Exception() noexcept override { }
22 const char* what() const noexcept override { return msg.c_str(); }
23};
24
25// ?????????????????????????????????????????
26class InvalidCastException : public Exception

Callers 7

LoadMethod · 0.70
GetIntMethod · 0.70
GetDoubleMethod · 0.70
GetBoolMethod · 0.70
OpenAndValidateFunction · 0.70
ValidateStreamFunction · 0.70
modifyFileMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected