Package com.atlan.exception
Class ExceptionMessageDefinition
java.lang.Object
com.atlan.exception.ExceptionMessageDefinition
Class to capture the details of individual error messages.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Unique, language-independent code for the error.getErrorMessage
(String... params) Retrieve the formatted, parameterized error message.int
HTTP response code for the error.Recommended action for the user to take upon observing this error.
-
Method Details
-
getErrorMessage
Retrieve the formatted, parameterized error message.- Parameters:
params
- the values to inject into the formatting placeholders of the message- Returns:
- the formatted error message
-
builder
-
getHttpErrorCode
public int getHttpErrorCode()HTTP response code for the error. -
getErrorId
Unique, language-independent code for the error. -
getUserAction
Recommended action for the user to take upon observing this error.
-