Android: try block is not being entered
<p>I downloaded a WavFile package from <a href="http://www.labbookpages.co.uk/audio/javaWavFiles.html" rel="nofollow">http://www.labbookpages.co.uk/audio/javaWavFiles.html</a></p>

<p>Using which i wanted to read the data block of a given *.wav file. 
Hence i created a new package in my android project and added those class files and used then in my android project. the code snippet is shown below:</p>

<pre><code>          File f=new File("/sdcard/", "a.wav");
          Log.d(TAG, "File found");

            WavFile fp;
    try {
        fp = WavFile.openWavFile(f);
        Log.d(TAG, "Wav file found");
                    //Displays info about wav file
        fp.display();
    } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    } catch (WavFileException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
</code></pre>

<p>There are no errors in my program but when executed the out is only the first log msg and not the log msg within the try block. Also there is no exception occouring here. Can anyone pls tell me whats the problem with this. or provide another way to retrieve data from a wav file.</p>

<p>Thanks in advance</p>
