• What are you expecting to error? Or rather - what is the error condition you're expecting to capture?

    Although not necessarily the prettiest code ever - it doesn't look to me that it should routinely "fail" anywhere.

    ----------------------------------------------------------------------------------
    Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?