Package ome.formats.importer.util
Class ErrorHandler.UNKNOWN_FORMAT
- java.lang.Object
-
- ome.formats.importer.ImportEvent
-
- ome.formats.importer.util.ErrorHandler.EXCEPTION_EVENT
-
- ome.formats.importer.util.ErrorHandler.UNKNOWN_FORMAT
-
- Enclosing class:
- ErrorHandler
public static class ErrorHandler.UNKNOWN_FORMAT extends ErrorHandler.EXCEPTION_EVENT
UnlikeErrorHandler.FILE_EXCEPTION
, UNKNOWN_FORMAT does not have a reader since bio-formats is telling us that it does not know how to handle the given file. This should be generally be considered less fatal than aErrorHandler.FILE_EXCEPTION
, but if the user is specifically saying that a file should be imported, and anErrorHandler.UNKNOWN_FORMAT
is raised, then perhaps there is a configuration issue.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ome.formats.importer.ImportEvent
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
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
filename
java.lang.Object
source
-
Fields inherited from class ome.formats.importer.util.ErrorHandler.EXCEPTION_EVENT
exception
-
Fields inherited from class ome.formats.importer.ImportEvent
GROUP_COLLAB_READ, GROUP_COLLAB_READ_LINK, GROUP_PRIVATE, GROUP_PUBLIC, GROUP_SYSTEM
-
-
Constructor Summary
Constructors Constructor Description UNKNOWN_FORMAT(java.lang.String filename, java.lang.Exception exception, java.lang.Object source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toLog()
-
-
-
Constructor Detail
-
UNKNOWN_FORMAT
public UNKNOWN_FORMAT(java.lang.String filename, java.lang.Exception exception, java.lang.Object source)
- Parameters:
filename
- the filenameexception
- the exceptionsource
- the source (e.g.,ImportCandidates
)
-
-
Method Detail
-
toLog
public java.lang.String toLog()
- Overrides:
toLog
in classImportEvent
-
-