Class ValidationInsightException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.riadalabs.jira.plugins.insight.common.exception.InsightException
com.riadalabs.jira.plugins.insight.common.exception.ValidationInsightException
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 ValidationInsightSystemException,ValidationInsightZipException
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionValidationInsightException(ErrorMessageContainer errorMessageContainer) ValidationInsightException(Map<ErrorMessageContainer.Context, Collection<ErrorMessageContainer.ErrorMessage>> errorMap)  - 
Method Summary
Modifier and TypeMethodDescriptiongetFlattenErrorMessages(com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator translator) Returns a collection of all error messages found in this validation exception.translateErrorMessage(com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator translator) Methods inherited from class com.riadalabs.jira.plugins.insight.common.exception.InsightException
getMessage, printStackTrace, printStackTrace, printStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString 
- 
Constructor Details
- 
ValidationInsightException
 - 
ValidationInsightException
public ValidationInsightException(Map<ErrorMessageContainer.Context, Collection<ErrorMessageContainer.ErrorMessage>> errorMap)  
 - 
 - 
Method Details
- 
getErrorMap
public Map<ErrorMessageContainer.Context,Collection<ErrorMessageContainer.ErrorMessage>> getErrorMap() - 
getErrorContainer
 - 
translateErrorMessage
public String translateErrorMessage(com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator translator)  - 
getFlattenErrorMessages
public Collection<String> getFlattenErrorMessages(com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator translator) Returns a collection of all error messages found in this validation exception. Will remove the key from the error messages and only collect the actual messages in the result 
 -