Class CCImportException
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CCDuplicateException,CCFileMismatchException,CCImportFlowPointException,CCInvalidResultDirectory,CCModifierException
An exception during the import process
If it is available the path being processed should be set in this exception before throwing it
- Since:
- 3.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCCImportException(String messageKey) CCImportException(String messageKey, String parm1) Create import exception with message and one parameterCCImportException(String messageKey, String parm1, String parm2) Create import exception with message and parametersCCImportException(Throwable cause) Create import message from an exception -
Method Summary
Methods 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
-
CCImportException
-
CCImportException
Create import exception with message and one parameter- Parameters:
messageKey- message key or idparm1- substitution value- Since:
- 4.0
-
CCImportException
Create import exception with message and parameters- Parameters:
messageKey- message key or idparm1- first substitution valueparm2- second substitution value- Since:
- 4.0
-
CCImportException
Create import message from an exception- Parameters:
cause- exception that caused the problem
-
-
Method Details
-
getPath
Returns the path used by the importer and can help identify the source of the exception- Returns:
- path
- Since:
- 4.0
-
setPath
Set the import path in this exception this can give the catcher of this exception the context- Parameters:
path- path that was used by the importer- Since:
- 4.0
-