title: How can I return throws in java with false?
body: <p>For example :</p>
  
  <pre><code>public abstract boolean isColumnFull(int col) throws IllegalColumnException {    
  for (int i=0;i&lt;6;i++) {
       for (int j=0;j&lt;7;j++) {
           if ((col&gt;=0) &amp;&amp; (col&lt;=6)) 
              return true;
       else false;
  
  }
  </code></pre>
  
  <p>How can I return false and use the throws for IllegalColumnException?</p>
  
  <p>Thanks.</p>