title: Display\Capture InnerException Message
body: <p>I was using the following to provide more information on a common exception that can occour in a piece of my code, the only problem is this errors if an exception is generated that has no InnerException message.</p>
  
  <pre><code>Catch ex As Exception
       'MessageBox.Show(ex.Message) 'If there is no InnerException.
       MessageBox.Show(ex.InnerException.InnerException.Message)
  End Try
  </code></pre>
  
  <p>Is there a better method of doing this?</p>