@Override protected void failed(){
  relation.setCanceled(true);
  super.failed();
}

@ Override protected void failed ( ) { relation . setCanceled ( true ) ; super . failed ( ) ; }
marks the relation as canceled and invokes the the handler ' s failed ( ) method .
