title: custom exception and parsing message from exception
body: <pre><code>ex.Message = "ORA-20586: SOME TEXT SOME TEXT.\nORA-06512: at \"RMM.LOKAC\", line 116\nORA-06512: at line 2"
  
  catch (Exception ex)
      MessageBox.Show(ex.Message);
      return false;
  }
  
  ex.Message = "ORA-20586: SOME TEXT SOME TEXT.\nORA-06512: at \"RMM.LOKAC\", line 116\nORA-06512: at line 2"
  </code></pre>
  
  <p>but i need to get just "SOME TEXT SOME TEXT". How can i read just text.</p>
  
  <p>ORA-20586 means user error <a href="http://www.dbmotive.com/support/oracle-error-codes/?type=ORA&amp;errcode=20586" rel="nofollow">http://www.dbmotive.com/support/oracle-error-codes/?type=ORA&amp;errcode=20586</a></p>
  
  <p>Database is Oracle. How can i read just "SOME TEXT SOME TEXT" from this error message.</p>