complex thinking on simple java challenge, how can i fix it?
<p>Simple stuff but somehow not able to crack it, below piece of code gives compile time exception like <code>unexpected token</code> at <code>try/catch</code> and <code>unhandled exception:java.io.FileNotFound</code>     </p>

<pre><code> String fileName = "C:\\GS.xlsx";
 try{
        CSVReader reader = new CSVReader(new FileReader(fileName));
 }catch(Exception e){

 }
</code></pre>

<p>What is the possible issue in here, i know there is something really goofy that am doing in here...</p>

<p><strong>Update</strong></p>

<p>Issue was, I didn't had my code in method...result of longs hrs of continous work...</p>

<pre><code> public class PositionGS {

    public PositionGS() {
        String fileName = "C:\\GS.xlsx";
        try {
            CSVReader reader = new CSVReader(new FileReader(fileName));
        } catch (Exception e) {
        }
    }
}
</code></pre>

<p>that's the complete code...</p>
