Changeset 3162 for code/branches/pch/src/util
- Timestamp:
- Jun 14, 2009, 11:18:43 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/util/Exception.h
r3149 r3162 38 38 #include "UtilPrereqs.h" 39 39 40 #include <exception> 41 #include <sstream> 40 42 #include <string> 41 #include <exception>42 #include <cassert>43 43 #include "Debug.h" 44 44 … … 121 121 122 122 #define ThrowException(type, description) \ 123 throw InternalHandleException(type##Exception( description, __LINE__, __FILE__, __FUNCTIONNAME__))123 throw InternalHandleException(type##Exception(static_cast<std::ostringstream&>(std::ostringstream().flush() << description).str(), __LINE__, __FILE__, __FUNCTIONNAME__)) 124 124 125 125 #endif /* _Exception_H__ */
Note: See TracChangeset
for help on using the changeset viewer.