Class CCModifierException
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.CCModifierException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CCFilterException
Represents an exception when a code coverage result modifier was performing an operation
- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCCModifierException(ICCResultModifier modifier, Exception e) CCModifierException(ICCResultModifier modifier, String messageKey) CCModifierException(ICCResultModifier modifier, String messageKey, ICCBase item) CCModifierException(ICCResultModifier modifier, String messageKey, String parm1, String parm2) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the code coverage base item that caused this exception.Retrieves the code coverage result modifier for this exception, may be null.voidsetBaseItem(ICCBase item) Sets the item that caused the modifier exceptionMethods 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
-
CCModifierException
-
CCModifierException
public CCModifierException(ICCResultModifier modifier, String messageKey, String parm1, String parm2) -
CCModifierException
-
CCModifierException
-
-
Method Details
-
setBaseItem
Sets the item that caused the modifier exception- Parameters:
item- the code coverage item that caused this exception
-
getBaseItem
Retrieves the code coverage base item that caused this exception. May be null.- Returns:
- the code coverage base item
-
getModifier
Retrieves the code coverage result modifier for this exception, may be null.- Returns:
- the code coverage results modifier
-