title: How to get message from Exception?
body: <p>Following is my piece of code:\</p>
  
  <pre><code>public void LoadProjectFile(String Filename) throws Exception
  {
    //  m_Renderer.m_Project=new Project();
     refresh_project();
      m_Renderer.m_SelectedProjectPath =  Filename;
  
      try {
          m_Renderer.m_Project.load_file(Filename);
  
      }
      catch (Exception e)
  
      {
          //Exception a = e.getMessage();
          String a= e.getMessage();
  
          throw new Exception(a);
      }
  
      //AppFuncs.m_GisProject=m_Renderer.m_Project;
  
  }
  
  
  
          try
          {
  
              Map.this.mGLView.LoadProjectFile(AppFuncs.g_path);
               Map.this.mGLView.requestRender();
      }
          catch (Exception e)
          {
              br=1;
               b=e.getMessage();
          }
  </code></pre>
  
  <p>Load project file throws an exception which i recieve in Map class. <code>This exception contains message: Java.lang.exception: java.lang.exception: file not found.</code> </p>
  
  <p>I want to show only <code>"File not found"</code> message. so how should i get this message out from an exception?</p>