Package de.xima.fc.exceptions
Class FileFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.exceptions.AbstractXfcException
-
- de.xima.fc.exceptions.WorkflowProcessingException
-
- de.xima.fc.exceptions.FileFormatException
-
- All Implemented Interfaces:
IXfcException
,Serializable
public class FileFormatException extends WorkflowProcessingException
A particularIOException
caused by an invalid file format- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileFormatException(String[] allowedFileExtensions)
Creates aFileFormatException
FileFormatException(String[] allowedFileExtensions, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getAllowedFileExtensions()
String
getDefaultMessageKey()
-
Methods inherited from class de.xima.fc.exceptions.WorkflowProcessingException
getDefaultErrorCode
-
Methods inherited from class de.xima.fc.exceptions.AbstractXfcException
getErrorCode, getExceptionData, getLocalizedMessage, getMessageKey, getMessageParams
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FileFormatException
public FileFormatException(String[] allowedFileExtensions)
Creates aFileFormatException
- Parameters:
allowedFileExtensions
- an array of all allowed extensions
-
-
Method Detail
-
getDefaultMessageKey
public String getDefaultMessageKey()
- Specified by:
getDefaultMessageKey
in interfaceIXfcException
- Overrides:
getDefaultMessageKey
in classWorkflowProcessingException
-
getAllowedFileExtensions
public String[] getAllowedFileExtensions()
-
-