diff options
Diffstat (limited to 'lib/Exceptions.cc')
-rw-r--r-- | lib/Exceptions.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Exceptions.cc b/lib/Exceptions.cc index 2ecafef..06d283d 100644 --- a/lib/Exceptions.cc +++ b/lib/Exceptions.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Exceptions.cc,v 1.32 2004-03-01 07:41:48 pixel Exp $ */ +/* $Id: Exceptions.cc,v 1.33 2004-07-23 16:56:03 pixel Exp $ */ #include <string.h> #include <errno.h> @@ -48,16 +48,19 @@ char GeneralException::t[BUFSIZ]; std::vector<String> Base::context; GeneralException::GeneralException(String emsg) : msg(emsg.strdup()) { + UNLOCK; #ifdef DEBUG printm(M_BARE, String(_("Generating a General Exception error: '")) + msg + "'.\n"); #endif } GeneralException::GeneralException() : msg(0) { + UNLOCK; #ifdef DEBUG printm(M_BARE, String(_("Generating a General Exception error: '")) + msg + "'.\n"); #endif } GeneralException::GeneralException(const GeneralException & e) : msg(strdup(e.msg)) { + UNLOCK; #ifdef DEBUG printm(M_BARE, String(_("Generating a General Exception error: '")) + msg + "'.\n"); #endif |