@Override public void loadingError(String errorMsg){
  dismissDialog(PROGRESS_DIALOG);
  if (errorMsg != null) {
    createErrorDialog(errorMsg,EXIT);
  }
 else {
    createErrorDialog(getString(R.string.parse_error),EXIT);
  }
}

@ Override public void loadingError ( String errorMsg ) { dismissDialog ( PROGRESS_DIALOG ) ; if ( errorMsg != null ) { createErrorDialog ( errorMsg , EXIT ) ; } else { createErrorDialog ( getString ( R . string . parse_error ) , EXIT ) ; } }
called by the formloadertask if something goes wrong .
