Could you post more of the code, perhaps the whole method? Also, exactly which line are you getting the error on? I suspect that 'e' is out of scope where it is being used, or perhaps you have 'e' declared twice, but without seeing more of the code it is hard to tell.