Class CCFileExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.debug.pdt.codecoverage.core.results.CCAbstractException
com.ibm.debug.pdt.codecoverage.core.results.importers.CCImportException
com.ibm.debug.pdt.codecoverage.core.results.importers.CCDuplicateException
com.ibm.debug.pdt.codecoverage.core.results.importers.CCFileExistsException
- All Implemented Interfaces:
Serializable
- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCCFileExistsException(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. -
Method Summary
Modifier and TypeMethodDescriptionReturns the existing fileReturn the new fileMethods inherited from class com.ibm.debug.pdt.codecoverage.core.results.importers.CCImportException
getPath, setPathMethods inherited from class com.ibm.debug.pdt.codecoverage.core.results.CCAbstractException
addException, getEncodedMessage, getExceptions, getMessages, isEmpty, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CCFileExistsException
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 filenewFile- a new file that can be used for compare
-
-
Method Details
-
getExistingFile
Returns the existing file- Returns:
- the existing file
-
getNewFile
Return the new file- Returns:
- the new file
-