Class CCFileExistsException

All Implemented Interfaces:
Serializable

public class CCFileExistsException extends CCDuplicateException
Since:
4.0
See Also:
  • Constructor Details

    • CCFileExistsException

      public CCFileExistsException(ICCImportFile existingFile, ICCImportFile newFile)
      Thrown when a create file is requested and there is already one by the same name The exception will contain a reference to the existing file and a created instance of the new file. The new file can be used to compare if they are the truly the same
      Parameters:
      existingFile - the existing file
      newFile - a new file that can be used for compare
  • Method Details

    • getExistingFile

      public ICCImportFile getExistingFile()
      Returns the existing file
      Returns:
      the existing file
    • getNewFile

      public ICCImportFile getNewFile()
      Return the new file
      Returns:
      the new file