diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-03-03 11:47:08 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-03-03 11:47:08 +0100 |
commit | 0226e09b7b0247f6ed2f16af4b973dd5a8a46e8d (patch) | |
tree | f6e70b27bb133cd01ed6d3fa45491336673ba235 /lib/Utils/DebugDump.cpp | |
parent | cd1a73a61e9994cf9ee6b912ef20ef0767f61bf5 (diff) | |
download | abrt-0226e09b7b0247f6ed2f16af4b973dd5a8a46e8d.tar.gz abrt-0226e09b7b0247f6ed2f16af4b973dd5a8a46e8d.tar.xz abrt-0226e09b7b0247f6ed2f16af4b973dd5a8a46e8d.zip |
throw std::string instead of char * (zprikryl)
Diffstat (limited to 'lib/Utils/DebugDump.cpp')
-rw-r--r-- | lib/Utils/DebugDump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Utils/DebugDump.cpp b/lib/Utils/DebugDump.cpp index 315b564..068cfa5 100644 --- a/lib/Utils/DebugDump.cpp +++ b/lib/Utils/DebugDump.cpp @@ -43,7 +43,7 @@ void CDebugDump::Open(const std::string& pDir) { if (m_bOpened) { - throw "CDebugDump::CDebugDump(): DebugDump is already opened."; + throw std::string("CDebugDump::CDebugDump(): DebugDump is already opened."); } m_sDebugDumpDir = pDir; std::string lockPath = m_sDebugDumpDir + "/.lock"; @@ -138,7 +138,7 @@ void CDebugDump::Create(const std::string& pDir) { if (m_bOpened) { - throw "CDebugDump::CDebugDump(): DebugDump is already opened."; + throw std::string("CDebugDump::CDebugDump(): DebugDump is already opened."); } m_sDebugDumpDir = pDir; |