Class IllegalFileException

    • Constructor Detail

      • IllegalFileException

        public IllegalFileException​(String message)
      • IllegalFileException

        public IllegalFileException​(String message,
                                    String param)
        Creates an exception with a message key and a parameter to format into the message.
        Parameters:
        message - the message key
        param - the value to format into the message (e.g. file name or file type)
    • Method Detail

      • getLocalizedMessage

        public String getLocalizedMessage()
        Returns the exception message translated to the current user locale, with any format parameters applied.
        Overrides:
        getLocalizedMessage in class Throwable
        Returns:
        the translated and formatted message