Class ExceptionImportDiagnostic
java.lang.Object
com.appiancorp.suiteapi.type.config.ImportDiagnostic
com.appiancorp.suiteapi.type.config.ExceptionImportDiagnostic
An ImportDiagnostic that has an associated
AppianException
.-
Constructor Summary
ConstructorDescriptionExceptionImportDiagnostic
(ImportDiagnosticSeverity severity, AppianException exception) Creates an instance with the given severity and AppianException. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the exception associated with the diagnostic.getMessage
(Locale locale_) Returns a localized message providing details on the diagnosticint
hashCode()
Methods inherited from class com.appiancorp.suiteapi.type.config.ImportDiagnostic
getSeverity, toString
-
Constructor Details
-
ExceptionImportDiagnostic
Creates an instance with the given severity and AppianException.- Parameters:
severity
- the severityexception
- the exception to be associated with the diagnostic
-
-
Method Details
-
getMessage
Returns a localized message providing details on the diagnostic- Specified by:
getMessage
in classImportDiagnostic
- Parameters:
locale
- theLocale
used to localize the message- Returns:
- the localized message
-
getException
Gets the exception associated with the diagnostic.- Returns:
- the exception
-
equals
- Overrides:
equals
in classImportDiagnostic
-
hashCode
public int hashCode()- Overrides:
hashCode
in classImportDiagnostic
-
getErrorCode
- Specified by:
getErrorCode
in classImportDiagnostic
-