Interface LocalizedException

All Known Implementing Classes:
MathIllegalArgumentException, MathIllegalStateException, MathRuntimeException, NullArgumentException

public interface LocalizedException
This interface specified methods implemented by localized exception classes.

This interface has been copied from the interface with the same name from Orekit.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the message in a specified locale.
    Get the variable parts of the error message.
    Get the localizable specifier of the error message.
  • Method Details

    • getMessage

      String getMessage(Locale locale)
      Gets the message in a specified locale.
      Parameters:
      locale - Locale in which the message should be translated
      Returns:
      localized message
    • getSpecifier

      Localizable getSpecifier()
      Get the localizable specifier of the error message.
      Returns:
      localizable specifier of the error message
    • getParts

      Object[] getParts()
      Get the variable parts of the error message.
      Returns:
      a copy of the variable parts of the error message