Class CCAbstractException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.debug.pdt.codecoverage.core.results.CCAbstractException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CCExportException,CCFileChangedException,CCIdenticalFilesException,CCImportException,CCResultException,CCSourceFileNotFoundException
Implementation of a CC exception that supports encoded messages
use
Throwable.getMessage() to retrieve the message full text
use getEncodedMessage() to retrieve the message in encoded form- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCCAbstractException(String messageKey) CCAbstractException(String messageKey, String parm1) CCAbstractException(String messageKey, String parm1, String parm2) CCAbstractException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionvoidString[]Returns any additional messages that were generated during the import/export/compare These messages may help determine the reason for this exception The messages are encoded and callers can useCCMessageUtilitiesto decode them in the language they needbooleanisEmpty()Returns true if there are no exceptions addedtoString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CCAbstractException
-
CCAbstractException
-
CCAbstractException
-
CCAbstractException
-
-
Method Details
-
getEncodedMessage
-
addException
- Parameters:
e- underlying or related exception that can give more information on the cause of the error- Since:
- 6.0
-
getExceptions
- Returns:
- array of exceptions or an empty array
- Since:
- 6.0
-
isEmpty
public boolean isEmpty()Returns true if there are no exceptions added- Returns:
- true if no exceptions are available
- Since:
- 4.1
-
getMessages
Returns any additional messages that were generated during the import/export/compare These messages may help determine the reason for this exception The messages are encoded and callers can useCCMessageUtilitiesto decode them in the language they need- Returns:
- array of additional message text or an empty array
- Since:
- 6.0
-
toString
-