Interface IFileProvisionHandleErrorProcessor<E extends Throwable>
- Type Parameters:
E- Type of the error that may be thrown when in case of an error.
public interface IFileProvisionHandleErrorProcessor<E extends Throwable>
Handler for errors that may occur when a
IFileProvision is handled, see
IWorkflowFileHandler#handleFileProvision.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionvoidCallback for handling an error of typeATTACHMENT_COULD_NOT_BE_SAVED.voidCallback for handling an error of typeFILE_COULD_NOT_BE_READ.
-
Method Details
-
onAttachmentCouldNotBeSaved
void onAttachmentCouldNotBeSaved(AFileProvisionHandleError.AttachmentCouldNotBeSaved error) throws E Callback for handling an error of typeATTACHMENT_COULD_NOT_BE_SAVED.- Parameters:
error- The error that occurred.- Throws:
E- May be thrown when the error cannot be handled otherwise. This exception is propagated.
-
onFileCouldNotBeRead
Callback for handling an error of typeFILE_COULD_NOT_BE_READ.- Parameters:
error- The error that occurred.- Throws:
E- May be thrown when the error cannot be handled otherwise. This exception is propagated.
-