projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix xml to json converter
[anna.git]
/
source
/
core
/
Exception.cpp
diff --git
a/source/core/Exception.cpp
b/source/core/Exception.cpp
index
3bb7ad0
..
d057e2c
100644
(file)
--- a/
source/core/Exception.cpp
+++ b/
source/core/Exception.cpp
@@
-41,7
+41,7
@@
Exception::Exception(const Exception& other) {
// Operador copia
//-----------------------------------------------------------------------
Exception& Exception::operator = (const Exception & other)
// Operador copia
//-----------------------------------------------------------------------
Exception& Exception::operator = (const Exception & other)
-
throw()
{
+{
if(this != &other) {
m_name = other.m_name;
m_text = other.m_text;
if(this != &other) {
m_name = other.m_name;
m_text = other.m_text;
@@
-54,7
+54,7
@@
throw() {
}
std::string Exception::asString() const
}
std::string Exception::asString() const
-
throw()
{
+{
std::string result;
char n [32];
sprintf(n, " (%d) ] ", m_fromLine);
std::string result;
char n [32];
sprintf(n, " (%d) ] ", m_fromLine);
@@
-68,6
+68,6
@@
throw() {
}
void Exception::trace() const
}
void Exception::trace() const
-
throw()
{
+{
Logger::write(Logger::Error, m_name.c_str(), m_text.c_str(), m_fromFile.c_str(), m_fromLine); // JEDS 24/09/2003
}
Logger::write(Logger::Error, m_name.c_str(), m_text.c_str(), m_fromFile.c_str(), m_fromLine); // JEDS 24/09/2003
}