Create file from Uri exception occurs
<p>While creating a file from Uri and exception Occured. The value of exception shows null.</p>

<pre><code>try {
File mFile = new File(new URI(mediaUri.toString()));
data = readFile(mFile);     
 } catch (Exception e) {
Log.e("Error", e.getLocalizedMessage());
}   
</code></pre>

<p>Please help</p>

<p>Thanks in advance.</p>
