Class I18nException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ExportLocaleException, InstallLocalesException, LocaleFileNameRequiredException, LocaleLanguageRequiredException, ReadCSVLocalesFileException, UninstallLocaleException

public class I18nException extends Exception
Exception for errors of the I18nManager. TODO: hacer que extienda BaseException cuando se pase a gvSIG trunk.
Author:
David Cervera
See Also:
  • Constructor Details

    • I18nException

      public I18nException(String message, String key)
      Creates a new exception with an error message.
      Parameters:
      message - the error message
      key - the i18n key to localize the exception message
    • I18nException

      public I18nException(String message, String key, Throwable cause)
      Creates a new exception with an error message and a cause exception.
      Parameters:
      message - the error message
      key - the i18n key to localize the exception message
      cause - the error that caused the exception
  • Method Details

    • getLocalizedMessage

      public String getLocalizedMessage()
      Overrides:
      getLocalizedMessage in class Throwable
    • showError

      public void showError()
      Show the exception error in through the NotificationManager.