Exception Handling in java
<p>i was trying to run the following code but i am getting error please clarify my doubt</p>

<pre><code>import java.util.*;

    class Except 
    { public class AlfaException extends Exception{}
      public static void main(String[] args)
       {

        int b;
        Scanner s=new Scanner(System.in);
          try
            { 
              b=s.nextInt();
            }
          catch(InputMismatchException ex)
               {
                 try
                     {
                        if(('b'&gt; 67)&amp;&amp;('b'&lt;83)){}
                     }
                 catch(AlfaException e){
                   throw new AlfaException("hello");
                    }         
                 System.out.println("error found");
               }
        }
    }  



 Except.java:20: non-static variable this cannot be referenced from a static cont
ext
               throw new AlfaException("hello");
                     ^
</code></pre>

<p>1 error</p>
