MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / Exception

Class Exception

src/Engine/Exception.h:32–43  ·  view source on GitHub ↗

* Basic exception class to distinguish * OpenXcom exceptions from the rest. */

Source from the content-addressed store, hash-verified

30 * OpenXcom exceptions from the rest.
31 */
32class Exception : public std::exception
33{
34private:
35 std::string _msg;
36public:
37 /// Creates an exception.
38 Exception(const std::string &msg) throw();
39 /// Cleans up the exception.
40 ~Exception() throw();
41 /// Returns the exception message.
42 const char *what() const throw();
43};
44
45}
46

Callers 15

loadDatMethod · 0.85
loadMethod · 0.85
asBoolMethod · 0.85
asIntMethod · 0.85
asKeyMethod · 0.85
asStringMethod · 0.85
loadMethod · 0.85
initFunction · 0.85
flipMethod · 0.85
resetDisplayMethod · 0.85
GameMethod · 0.85
loadRulesetMethod · 0.85

Calls

no outgoing calls

Tested by 1

testSurfaceMethod · 0.68