Exception Handling
From: Ross (ross.oneill_at_gmail.com)
Date: 02/28/05
- Next message: Victor Bazarov: "Re: Exception Handling"
- Previous message: Lawrence F. Permenter: "Re: customised login form?"
- Next in thread: Victor Bazarov: "Re: Exception Handling"
- Reply: Victor Bazarov: "Re: Exception Handling"
- Reply: Ioannis Vranos: "Re: Exception Handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2005 09:21:40 -0800
Hi,
I have a message box that displays the message "Unhandled exception in
Cash32.exe: 0xC000005: access violation".
Is there anyway to write an exception that handles this message. For
example
class microsoft_errors{};
some_function()
{
try{
// some code
if (exception = OxC0000005){
throw microsoft_errors();
else
//Continue as normal;
}
catch(microsoft_errors){
message box ("error found in some_function() in XXX.cpp line X ")
}
}//end function
Thanks
Ross
- Next message: Victor Bazarov: "Re: Exception Handling"
- Previous message: Lawrence F. Permenter: "Re: customised login form?"
- Next in thread: Victor Bazarov: "Re: Exception Handling"
- Reply: Victor Bazarov: "Re: Exception Handling"
- Reply: Ioannis Vranos: "Re: Exception Handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]