Worst Exception!!
-
What's in your mind is the worst exception in programming?? My favourite is Out of Memory!
"An unexpected error has occured"[^] - you mean, as opposed to a totaly expected error, then? :doh:
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
-
What's in your mind is the worst exception in programming?? My favourite is Out of Memory!
-
object reference not set to an instance of an object index is outside the bounds of the array
-
"An unexpected error has occured"[^] - you mean, as opposed to a totaly expected error, then? :doh:
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
You should expect exceptions whenever you do something which your code can't guarantee to be successful. And you should write code to catch and handle the problems you expect. Whenever an exception lands in a general exception handler, it obviously was not expected and not really handled, just reported. But I agree, if that's all a program has to say about an error, then the error handling is a little thin.
Sent from my BatComputer via HAL 9000 and M5
-
Back in my dark COBOL days "Abnormal abend", that could indicate anything.
When the going gets weird the weird turn pro - Hunter S Thompson RIP
<shudder> I'd forgotten that one: OS/360 in my case. And wasn't the explanation helpfull as well? "The RTM2WA is pointed to by the TCB of the failing task (field TCBRTWA), and is listed after the abnormally ending TCB." Why can't you just say "You forgot a comma you idiot" and let us both move on? :laugh:
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
-
You should expect exceptions whenever you do something which your code can't guarantee to be successful. And you should write code to catch and handle the problems you expect. Whenever an exception lands in a general exception handler, it obviously was not expected and not really handled, just reported. But I agree, if that's all a program has to say about an error, then the error handling is a little thin.
Sent from my BatComputer via HAL 9000 and M5
That was about the only error reporting you seemed to get with Microsoft C in the DOS days. Ot at least, the only reporting I can remember. (I couldn't find an image of the DOS screen, where it was that and an "OK" and "Cancel" button, both of which did the same thing: crash.)
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
-
What's in your mind is the worst exception in programming?? My favourite is Out of Memory!
BSOD
Be excellent to each other. And... PARTY ON, DUDES! Abraham Lincoln
-
That was about the only error reporting you seemed to get with Microsoft C in the DOS days. Ot at least, the only reporting I can remember. (I couldn't find an image of the DOS screen, where it was that and an "OK" and "Cancel" button, both of which did the same thing: crash.)
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
-
<shudder> I'd forgotten that one: OS/360 in my case. And wasn't the explanation helpfull as well? "The RTM2WA is pointed to by the TCB of the failing task (field TCBRTWA), and is listed after the abnormally ending TCB." Why can't you just say "You forgot a comma you idiot" and let us both move on? :laugh:
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
-
<shudder> I'd forgotten that one: OS/360 in my case. And wasn't the explanation helpfull as well? "The RTM2WA is pointed to by the TCB of the failing task (field TCBRTWA), and is listed after the abnormally ending TCB." Why can't you just say "You forgot a comma you idiot" and let us both move on? :laugh:
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
-
What's in your mind is the worst exception in programming?? My favourite is Out of Memory!
-
And everything we wrote that long ago was better? :)
Sent from my BatComputer via HAL 9000 and M5
Well, I at least tried to tell the user what he had done wrong. Most of the time. Some of the time, probably. But MS didn't even give a nod towards "user friendly" in those days; it was "user hostile" at best, and "outright hatred" at worst.
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
-
Quote:
"Error: Cannot delete 6342_637.oft, there is not enough disk space. Delete one or more files to free disk space, and then try again."
Never underestimate the difference you can make in the lives of others.
Oh god, I'd forgotten that piece of zen wonderfulnes
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
-
Oh god, I'd forgotten that piece of zen wonderfulnes
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
Not an exception but with the same flavour. During windows start-up device detection: "Keyboard error or no keyboard present." and below the well known "Press F1 to continue or ESC to enter SETUP."
Never underestimate the difference you can make in the lives of others.
-
What's in your mind is the worst exception in programming?? My favourite is Out of Memory!
0xC0000005
, aka Windows access violation. Detection is nowhere near the place in your source code that caused the problem, and the actual cause usually has nothing to do with an attempt to access any kind of protected object.Software Zen:
delete this;
-
What's in your mind is the worst exception in programming?? My favourite is Out of Memory!
-
0xC0000005
, aka Windows access violation. Detection is nowhere near the place in your source code that caused the problem, and the actual cause usually has nothing to do with an attempt to access any kind of protected object.Software Zen:
delete this;
-
What's in your mind is the worst exception in programming?? My favourite is Out of Memory!
When things go wrong, even the worst exception is better than no exception. :sigh:
-
Not an exception but with the same flavour. During windows start-up device detection: "Keyboard error or no keyboard present." and below the well known "Press F1 to continue or ESC to enter SETUP."
Never underestimate the difference you can make in the lives of others.
Well this is the one I was always facing in my old Celeron box
-
All of the "something went wrong, but I'm not going to tell you what, why, or even where, neener neener"-Exceptions. XNA was pretty good at throwing those - often in a manner that the debugger would fail to run. Actually native code in general is good at that. For example, if anything happens after the stack gets misaligned on win64, things go very wrong.
In good old days of native c++... now I have moved to managed, atleast the debugger gives me some stack traces... I never learnt how to debug a native app!