コード例 #1
0
 @Override
 public void onError(AsyncEvent event) {
   handleError(event.getThrowable());
 }
コード例 #2
0
 @Override
 public void onTimeout(AsyncEvent event) {
   Throwable ex = event.getThrowable();
   ex = (ex != null ? ex : new IllegalStateException("Async operation timeout."));
   handleError(ex);
 }