title: GWT RPC Call onFailure
body: <p>I created a Remote Procedure Call. The Server-Side connects to Webservices, to get Information, which it hands over to the Client-Side. This is the Client-Side Code.</p>
  
  <pre><code>public void statusFor(GwtLaneServiceAsync laneProxy){
  
      AsyncCallback&lt;LaneInformation&gt; callback = new AsyncCallback&lt;LaneInformation&gt;()
      {
  
          @Override
          public void onFailure(Throwable caught)
          {
  
          }
  
          @Override
          public void onSuccess(LaneInformation information)
          {
              doStatusForSuccess(information);
          }
      };
  
      for (Lane lane : this.mainmenu.getSlidePanel().getLaneMenu().getProperLanes().values())
      {
          if (lane.isChecked().booleanValue())
              laneProxy.statusFor("admin", "password", true, lane.getId(), callback);
          else
              laneProxy.statusFor("admin", "password", false, lane.getId(), callback);
          this.laneIndex++;
      }
  }
  </code></pre>
  
  <p>Now i wanna do the following...</p>
  
  <p>When the Server can't reach the Webservice, a WebServiceException is thrown. If that happens, I wanna type "Offline" on one of my Buttons of the GUI. BUT I need to tell on which button. It can't be hard coded, cause it depends on which "lane" the Webservice failed.</p>
  
  <ol>
  <li>I need to catch the Exceptions</li>
  <li>I need to tell the "onFailure"-Part, on which lane, the Service failed.
  Can I somehow deliver the statusFor()-Parameters to that part?</li>
  </ol>