Interface I18nExceptionI

    • Method Detail

      • getResourceBundleName

        java.lang.String getResourceBundleName()
      • getMessageKey

        java.lang.String getMessageKey()
      • getArguments

        java.lang.Object[] getArguments()
      • getCause

        java.lang.Throwable getCause()
      • getMessage

        java.lang.String getMessage()
        Due to the fact that superclass definitions override any default methods, these next must be in the class definitions as they override other supertype methods.
        Returns:
        -
      • getLocalizedMessage

        java.lang.String getLocalizedMessage()
      • getLocalizedMessage

        default java.lang.String getLocalizedMessage​(java.util.Locale aLocale)
        Gets the localized detail message for this exception using the specified Locale.
        Parameters:
        aLocale - the locale to use for localizing the message
        Returns:
        this exception's detail message, localized for the specified Locale.
      • hasMessageKey

        default boolean hasMessageKey​(java.lang.String messageKey)
        Checks if this exception, or any of its root causes, has a particular UIMA message key. This allows checking for particular error condition in test cases
        Parameters:
        messageKey - to search for in the exception chain
        Returns:
        true if this exception or any of its root causes has a particular UIMA message key.