What is returned if a boolean function fails?
<p>Supposing a method:</p>

<pre><code>public boolean setAttribute(){
  boolean returnval = false;
  object = this.getObject;                       //suppose this returns null
  for(Object obj : object.getObjectsForLoop()){  //&lt;== this will fail
     doSomething();
     returnval = true;   
  }
  return returnval;
}
</code></pre>

<p>Now, suppose this is called elsewhere, in a procedure. Will this method fail at it's fourth line and not return anything?</p>
