Class ExceptionMessageDefinition

java.lang.Object
com.atlan.exception.ExceptionMessageDefinition

public class ExceptionMessageDefinition extends Object
Class to capture the details of individual error messages.
  • Method Details

    • getErrorMessage

      public String getErrorMessage(String... params)
      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

      public String getErrorId()
      Unique, language-independent code for the error.
    • getUserAction

      public String getUserAction()
      Recommended action for the user to take upon observing this error.