Have you checked the InnerException "ex.InnerException"?