title: Best way to check for inner exception?
body: <p>I know sometimes innerException is null</p>
  
  <p>So the following might fail:</p>
  
  <pre><code> repEvent.InnerException = ex.InnerException.Message; 
  </code></pre>
  
  <p>Is there a quick ternary way to check if innerException is null or not?</p>