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_FILEcancelUploads, 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, uploadFilepublic ErrorHandler(ImportConfig config)
public void onUpdate(IObservable importLibrary, ImportEvent event)
ErrorHandleronUpdate in class ErrorHandlerimportLibrary - the import libraryevent - - importEvent