@PublicApi public class ValidationInsightException extends InsightException
Constructor and Description |
---|
ValidationInsightException(ErrorMessageContainer errorMessageContainer) |
ValidationInsightException(Map<ErrorMessageContainer.Context,Collection<ErrorMessageContainer.ErrorMessage>> errorMap) |
Modifier and Type | Method and Description |
---|---|
ErrorMessageContainer |
getErrorContainer() |
Map<ErrorMessageContainer.Context,Collection<ErrorMessageContainer.ErrorMessage>> |
getErrorMap() |
Collection<String> |
getFlattenErrorMessages(com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator translator)
Returns a collection of all error messages found in this validation exception.
|
String |
translateErrorMessage(com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator translator) |
getMessage, printStackTrace, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public ValidationInsightException(ErrorMessageContainer errorMessageContainer)
public ValidationInsightException(Map<ErrorMessageContainer.Context,Collection<ErrorMessageContainer.ErrorMessage>> errorMap)
public Map<ErrorMessageContainer.Context,Collection<ErrorMessageContainer.ErrorMessage>> getErrorMap()
public ErrorMessageContainer getErrorContainer()
public String translateErrorMessage(com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator translator)
public Collection<String> getFlattenErrorMessages(com.riadalabs.jira.plugins.insight.services.util.ErrorMessageTranslator translator)
Copyright © 2024 Atlassian. All rights reserved.