Original Post
Basically, I have a try...catch block with statements inside the try that could throw multiple exceptions. For my purposes, however, I know that it won''t ever throw those exceptions, and it''s simply there because Java requires it. So, is it okay to do
Or will that not work for some reason?
WNDCLASSEX Reality;
...
...
Reality.lpfnWndProc=ComputerGames;
...
...
RegisterClassEx(&Reality);
Unable to register Reality...what''s wrong?
---------
Dan Upton
http://0to1.org
http://www20.brinkster.com/draqza
try{
.
.
.
}
catch(Exception e)
{
//do something here to report the odd error
}
|