18 #ifndef __H__OCULAR_EXCEPTION__H__
19 #define __H__OCULAR_EXCEPTION__H__
23 #define THROW_EXCEPTION(msg) throw Ocular::Core::Exception(msg, __FILE__, __LINE__)
46 Exception(std::string
const& msg, std::string
const file,
int const line)
47 : runtime_error(msg), m_File(file), m_Line(line)
52 inline std::string getMessage()
57 inline std::string getFile()
const
62 inline int getLine()
const
72 std::string m_Message;
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Exception.hpp:42