summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2002-12-07 00:47:00 +0000
committerpixel <pixel>2002-12-07 00:47:00 +0000
commit2b26a277cdcf441383ac8210b1f39f1b0d6b34bf (patch)
tree2ea7594b6ecad0a66a8d2271ce6761195fdd942b /lib
parent99447043a97d4b54cfdf3c44d5866a5d59268c43 (diff)
Whooooooups ;-)
Diffstat (limited to 'lib')
-rw-r--r--lib/Exceptions.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Exceptions.cc b/lib/Exceptions.cc
index 3be7c65..a647f16 100644
--- a/lib/Exceptions.cc
+++ b/lib/Exceptions.cc
@@ -21,17 +21,17 @@ char GeneralException::t[BUFSIZ];
GeneralException::GeneralException(String emsg) : msg(emsg.strdup()) {
#ifdef DEBUG
- cerr << _("Generating a General Exception error: '") << msg << "'.\n";
+ std::cerr << _("Generating a General Exception error: '") << msg << "'.\n";
#endif
}
GeneralException::GeneralException() : msg(0) {
#ifdef DEBUG
- cerr << _("Generating a General Exception error: '") << msg << "'.\n";
+ std::cerr << _("Generating a General Exception error: '") << msg << "'.\n";
#endif
}
GeneralException::GeneralException(const GeneralException & e) : msg(strdup(e.msg)) {
#ifdef DEBUG
- cerr << _("Generating a General Exception error: '") << msg << "'.\n";
+ std::cerr << _("Generating a General Exception error: '") << msg << "'.\n";
#endif
}
@@ -62,19 +62,19 @@ IOGeneral::IOGeneral() { }
IOAgain::IOAgain() : IOGeneral(_("No more bytes for reading or writing.")) {
#ifdef DEBUG
- cerr << "Generating an IOAgain exception: '" << GetMsg() << "'.\n";
+ std::cerr << "Generating an IOAgain exception: '" << GetMsg() << "'.\n";
#endif
}
TaskSwitch::TaskSwitch() : GeneralException(_("Switching task in a non-tasked environnement")) {
#ifdef DEBUG
- cerr << "Generating a TaskSwitch exception: '" << GetMsg() << "'.\n";
+ std::cerr << "Generating a TaskSwitch exception: '" << GetMsg() << "'.\n";
#endif
}
Exit::Exit(int a_code) : GeneralException(_("Exitting with code " + a_code)), code(a_code) {
#ifdef DEBUG
- cerr << "Generating an Exit exception: '" << GetMsg() << "'.\n";
+ std::cerr << "Generating an Exit exception: '" << GetMsg() << "'.\n";
#endif
}