This should never happen

Oct 11, 2010 14:07

I hate it when I'm troubleshooting a utility, and trace an error message to a block of code prefixed with

// Hopefully this will never happen

Since I'm not sure how to fix this, the adage that leaps to mind is "Never test for an error condition you don't know how to handle."
Previous post Next post
Up