}
public void onFailure( Throwable caught ) {
GWTExceptionHandler.handleException( caught );
GWTMailFolderException e = (GWTMailFolderException) caught;
if ( caught instanceof GWTMailFolderExistException ) {
SC.showPrompt( TextProvider.get().common_error(), TextProvider.get()
.exception_folder_already_exist( e.getFolderName() ) );
}
else {
SC.showPrompt( TextProvider.get().common_error(), TextProvider.get().exception_folder_create(
e.getFolderName() ) );
}
EventBroker.get().fireFoldersReload();
}
} );
}