summaryrefslogtreecommitdiff
path: root/news/PicMonger/files/patch-Exceptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'news/PicMonger/files/patch-Exceptions.cpp')
-rw-r--r--news/PicMonger/files/patch-Exceptions.cpp53
1 files changed, 53 insertions, 0 deletions
diff --git a/news/PicMonger/files/patch-Exceptions.cpp b/news/PicMonger/files/patch-Exceptions.cpp
new file mode 100644
index 000000000000..d50037cba082
--- /dev/null
+++ b/news/PicMonger/files/patch-Exceptions.cpp
@@ -0,0 +1,53 @@
+--- Exceptions.cpp.orig Tue Mar 28 02:00:12 2000
++++ Exceptions.cpp Fri Dec 1 22:24:08 2006
+@@ -29,8 +29,8 @@
+
+ ///////////////////////////////////////////////////////////////////////////////////
+
+-Basic::Basic( const string& location = "Unknown",
+- const string& condition = "Unknown" )
++Basic::Basic( const string& location,
++ const string& condition )
+ : abort(false), loc( location ), cond( condition )
+ {
+ }
+@@ -65,8 +65,8 @@
+
+ ////////////////////////////////////////////////////////////////////////////////////
+
+-Fatal::Fatal( const string& location = "Unknown",
+- const string& condition = "Fatal Error" )
++Fatal::Fatal( const string& location,
++ const string& condition )
+ : Basic( location, condition )
+ {
+ }
+@@ -81,7 +81,7 @@
+
+ ////////////////////////////////////////////////////////////////////////////////////
+
+-NullPointer::NullPointer( const string& location = "Unknown" )
++NullPointer::NullPointer( const string& location )
+ : Fatal( location, "Attempted to dereference or access a null pointer." )
+ {}
+
+@@ -94,8 +94,8 @@
+ }
+
+ ////////////////////////////////////////////////////////////////////////////////////
+-FileAccess::FileAccess( const string& location = "Unknown",
+- const string& filename = "Filename Not Specified" )
++FileAccess::FileAccess( const string& location,
++ const string& filename )
+ : Basic( location, "File Not Found or Access Denied" ), fname( filename )
+ {}
+
+@@ -160,7 +160,7 @@
+ ////////////////////////////////////////////////////////////////////////////////////
+
+ TimeOut::TimeOut( const string& location, HtmlGenerator *htmlgen,
+- const string& pending_io = "(Err During Read)" )
++ const string& pending_io )
+ : Basic( location, "Socket I/O Timed Out" ), pend_io( pending_io ),
+ p_htgen( htmlgen )
+ {}