Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wrong case correction: start translation, select compsolid, activate value control...
[modules/shaper.git]
/
src
/
Events
/
Events_Error.cpp
diff --git
a/src/Events/Events_Error.cpp
b/src/Events/Events_Error.cpp
index 1016816c36bc9d770a97908a9870b6fd2659af17..1dc1012f2d17144594fecd9723a2e6f32ffb5638 100644
(file)
--- a/
src/Events/Events_Error.cpp
+++ b/
src/Events/Events_Error.cpp
@@
-43,12
+43,7
@@
void Events_Error::send(const std::string& theDescription, const void* theSender
void Events_Error::throwException(const std::string& theDescription)
{
#ifdef THROW_EMPTY_AIS_EXCEPTION
void Events_Error::throwException(const std::string& theDescription)
{
#ifdef THROW_EMPTY_AIS_EXCEPTION
- try {
- throw std::invalid_argument(theDescription);
- }
- catch (...) {
- Events_Error::send(
- std::string("An exception: ") + theDescription);
- }
+ Events_Error::send(
+ std::string("An exception: ") + theDescription);
#endif
#endif
-}
\ No newline at end of file
+}