diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-23 12:08:15 +0100 |
---|---|---|
committer | Andreas Stöckel <andreas@somweyr.de> | 2015-01-23 12:08:15 +0100 |
commit | 45a3d085b86e4d761a30718d05be40d4640ba63f (patch) | |
tree | c00987dc949ad825d9cc5ac9018f9449228fd973 /src/core/common/Exceptions.cpp | |
parent | 5eaeae92ccf209194bced39d888c5a0e527a9c1a (diff) |
Adapted LoggableException according to new SourceLocation class.
Diffstat (limited to 'src/core/common/Exceptions.cpp')
-rw-r--r-- | src/core/common/Exceptions.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/core/common/Exceptions.cpp b/src/core/common/Exceptions.cpp index e368b5a..caba7cc 100644 --- a/src/core/common/Exceptions.cpp +++ b/src/core/common/Exceptions.cpp @@ -22,21 +22,5 @@ namespace ousia { -/* Class LoggableException */ - -std::string LoggableException::formatMessage(const std::string &msg, - const SourceLocation &loc) -{ - std::stringstream ss; - ss << "error "; - if (loc.hasLine()) { - ss << "at line " << loc.line << ", "; - if (loc.hasColumn()) { - ss << "column " << loc.column << " "; - } - } - ss << "with message: " << msg; - return ss.str(); -} } |