I know sometimes innerException is null
So the following might fail:
repEvent.InnerException = ex.InnerException.Message;
Is ther
Is this what you are looking for?
String innerMessage = (ex.InnerException != null) ? ex.InnerException.Message : "";