*** empty log message ***

svn path=/trunk/boinc/; revision=3147
This commit is contained in:
Rom Walton 2004-03-24 20:06:42 +00:00
parent 757f506cfb
commit 77a7a44780
2 changed files with 13 additions and 0 deletions

View File

@ -10806,6 +10806,7 @@ Rom Mar 24 2004
- I was a little to agressive in cleaning up boinc_api.c and removed some
signal handling code, added that back in.
- The new exceptions use string's, so include <string> in the exception header.
- gcc has stronger exception enforcement than mscl
lib/
diagnostics.c

View File

@ -54,6 +54,8 @@ public:
boinc_base_exception(const char *f, int l, const char *s=0)
: m_strErrorData(s), m_strFilename(f), m_lLineNumber(l){};
~boinc_base_exception() throw () {};
virtual const char * ErrorType();
virtual const char * ErrorMessage();
virtual long ErrorValue();
@ -74,6 +76,8 @@ public:
boinc_runtime_base_exception(const char *f, int l, const char *s=0)
: boinc_base_exception(f, l, s){}
~boinc_runtime_base_exception() throw () {};
virtual const char * ErrorType();
virtual const char * ErrorMessage();
};
@ -90,6 +94,8 @@ public:
boinc_out_of_memory_exception(const char *f, int l, const char *s=0)
: boinc_runtime_base_exception(f, l, s){}
~boinc_out_of_memory_exception() throw () {};
virtual const char * ErrorMessage();
virtual long ErrorValue();
};
@ -103,6 +109,8 @@ public:
boinc_invalid_parameter_exception(const char *f, int l, const char *s=0)
: boinc_runtime_base_exception(f, l, s){}
~boinc_invalid_parameter_exception() throw () {};
virtual const char * ErrorMessage();
virtual long ErrorValue();
};
@ -116,6 +124,8 @@ public:
boinc_file_operation_exception(const char *f, int l, const char *s=0)
: boinc_runtime_base_exception(f, l, s){}
~boinc_file_operation_exception() throw () {};
virtual const char * ErrorMessage();
virtual long ErrorValue();
};
@ -129,6 +139,8 @@ public:
boinc_signal_operation_exception(const char *f, int l, const char *s=0)
: boinc_runtime_base_exception(f, l, s){}
~boinc_signal_operation_exception() throw () {};
virtual const char * ErrorMessage();
virtual long ErrorValue();
};