public class ErrorHandler extends ErrorHandler
IObserver
based on the gui ErrorHandler code which collects all
exceptions during
ImportLibrary.importCandidates(ome.formats.importer.ImportConfig, ome.formats.importer.ImportCandidates)
and after the import is finished offers to submit them via the feedback
system.ErrorHandler.EXCEPTION_EVENT, ErrorHandler.FILE_EXCEPTION, ErrorHandler.INTERNAL_EXCEPTION, ErrorHandler.MISSING_LIBRARY, ErrorHandler.UNKNOWN_FORMAT, ErrorHandler.UNREADABLE_FILE
cancelUploads, config, errors, fileUploadErrors, icMap, observers, sendFiles, sendLogs, totalErrors
Constructor and Description |
---|
ErrorHandler(ImportConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
onUpdate(IObservable importLibrary,
ImportEvent event)
abstract on update method
|
addError, addObserver, clearErrors, deleteObserver, errorCount, executePost, finishCancelled, finishComplete, finishWithErroredFiles, getStackTrace, isSend, notifyObservers, onAddError, onCancel, onException, onNotSending, onSending, onSent, sendErrors, update, uploadFile
public ErrorHandler(ImportConfig config)
public void onUpdate(IObservable importLibrary, ImportEvent event)
ErrorHandler
onUpdate
in class ErrorHandler
importLibrary
- the import libraryevent
- - importEvent
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.