Class LocalizedException

    • Constructor Detail

      • LocalizedException

        public LocalizedException​(ErrorBundle message)
        Constructs a new LocalizedException with the specified localized message.
        Parameters:
        message - the ErrorBundle that contains the message for the exception
      • LocalizedException

        public LocalizedException​(ErrorBundle message,
                                  Throwable throwable)
        Constructs a new LocalizedException with the specified localized message and cause.
        Parameters:
        message - the ErrorBundle that contains the message for the exception
        throwable - the cause
    • Method Detail

      • getErrorMessage

        public ErrorBundle getErrorMessage()
        Returns the localized error message of the exception.
        Returns:
        the localized error message as ErrorBundle