summaryrefslogtreecommitdiff
path: root/lib/Output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Output.cc')
-rw-r--r--lib/Output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Output.cc b/lib/Output.cc
index 75bb437..ab51c9f 100644
--- a/lib/Output.cc
+++ b/lib/Output.cc
@@ -10,7 +10,7 @@
#include "Exceptions.h"
#include "config.h"
-Output::Output(String no, int trunc = 1) throw (IOGeneral) :
+Output::Output(String no, int trunc = 1) throw (GeneralException) :
Handle(no.strlen() ? open(no.to_charp(), O_WRONLY | O_CREAT | (trunc ? O_TRUNC : O_APPEND)) : 1),
n(no) {
if (GetHandle() < 0) {