More Never, Never, Never
I think a while back I posted something that you should Never ever ever ever ever do in respect to exception handling. Well, my friend came across another one which is even better than the last one. He only gave it three Never's but I suspect he meant to give it more - I think it warrants five. If the pure ugliness of what's going on here doesn't bite you square in the face - then it's definitely time to polish up those Exception handling skills.
An old theory of mine is that code that's PURELY terrible is not a function of simple ignorance or idiocy. You see, if it were ignorance, you'd tend to see the stuff get better in waves or there'd be some randomness to it. If it was idiocy, it would be purely random. But when you see something really ridiculous, done in a very methodical fashion--- oh no, that's almost always ignorance + ego
catch(System.Data.SqlClient.SqlException sqlExc)
{
throw sqlExc;
}
catch(Exception exc)
{
System.Exception ex = new System.Exception("SomeClassLibrary.SomeUser.ValidateUser Caught Null Reference Exception",exc);
throw ex;
}