public static class ErrorHandler.FILE_EXCEPTION extends ErrorHandler.EXCEPTION_EVENT
ErrorHandler.FILE_EXCEPTION
s are thrown any time in the context of a particular
file and otherwise unspecified exception takes place. An example of an
exception which receives separate handling is ErrorHandler.UNKNOWN_FORMAT
which
can be considered less serious than ErrorHandler.FILE_EXCEPTION
. Subclasses of
this class may should receive special handling.
ErrorHandler.MISSING_LIBRARY
below is probably more of a warn situation rather
than an error.ImportEvent.ADD, ImportEvent.BEGIN_POST_PROCESS, ImportEvent.BEGIN_SAVE_TO_DB, ImportEvent.COUNT_EVENT, ImportEvent.DATA_STORED, ImportEvent.DATASET_STORED, ImportEvent.DEBUG_SEND, ImportEvent.END_POST_PROCESS, ImportEvent.END_SAVE_TO_DB, ImportEvent.ERRORS_COMPLETE, ImportEvent.ERRORS_FAILED, ImportEvent.ERRORS_PENDING, ImportEvent.FILE_UPLOAD_BYTES, ImportEvent.FILE_UPLOAD_CANCELLED, ImportEvent.FILE_UPLOAD_COMPLETE, ImportEvent.FILE_UPLOAD_ERROR, ImportEvent.FILE_UPLOAD_EVENT, ImportEvent.FILE_UPLOAD_FAILED, ImportEvent.FILE_UPLOAD_FINISHED, ImportEvent.FILE_UPLOAD_STARTED, ImportEvent.FILESET_EXCLUSION, ImportEvent.FILESET_UPLOAD_END, ImportEvent.FILESET_UPLOAD_PREPARATION, ImportEvent.FILESET_UPLOAD_START, ImportEvent.IMPORT_ARCHIVING, ImportEvent.IMPORT_DONE, ImportEvent.IMPORT_OVERLAYS, ImportEvent.IMPORT_PROCESSING, ImportEvent.IMPORT_STARTED, ImportEvent.IMPORT_STEP, ImportEvent.IMPORT_SUMMARY, ImportEvent.LOADED_IMAGE, ImportEvent.LOADING_IMAGE, ImportEvent.LOGGED_IN, ImportEvent.LOGGED_OUT, ImportEvent.METADATA_IMPORTED, ImportEvent.METADATA_PROCESSED, ImportEvent.OBJECTS_RETURNED, ImportEvent.PIXELDATA_PROCESSED, ImportEvent.POST_UPLOAD_EVENT, ImportEvent.PROGRESS_EVENT, ImportEvent.REIMPORT, ImportEvent.THUMBNAILS_GENERATED
Modifier and Type | Field and Description |
---|---|
java.lang.String |
filename |
java.lang.String |
reader |
java.lang.String[] |
usedFiles |
exception
GROUP_COLLAB_READ, GROUP_COLLAB_READ_LINK, GROUP_PRIVATE, GROUP_PUBLIC, GROUP_SYSTEM
Constructor and Description |
---|
FILE_EXCEPTION(java.lang.String filename,
java.lang.Exception exception,
java.lang.String[] usedFiles,
java.lang.String reader) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toLog() |
public final java.lang.String filename
public final java.lang.String[] usedFiles
public final java.lang.String reader
public FILE_EXCEPTION(java.lang.String filename, java.lang.Exception exception, java.lang.String[] usedFiles, java.lang.String reader)
public java.lang.String toLog()
toLog
in class ImportEvent
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.