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 particularIOExceptioncaused 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 aFileFormatExceptionFileFormatException(String[] allowedFileExtensions, Throwable cause) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getAllowedFileExtensions()StringgetDefaultMessageKey()- 
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:
 getDefaultMessageKeyin interfaceIXfcException- Overrides:
 getDefaultMessageKeyin classWorkflowProcessingException
 
- 
getAllowedFileExtensions
public String[] getAllowedFileExtensions()
 
 - 
 
 -