Class LocalizedIllegalArgumentException

    • Constructor Detail

      • LocalizedIllegalArgumentException

        public LocalizedIllegalArgumentException​(LocalizableMessage message)
        Creates a new localized illegal argument exception with the provided message.
        Parameters:
        message - The message that explains the problem that occurred.
      • LocalizedIllegalArgumentException

        public LocalizedIllegalArgumentException​(LocalizableMessage message,
                                                 Throwable cause)
        Creates a new localized illegal argument exception with the provided message and cause.
        Parameters:
        message - The message that explains the problem that occurred.
        cause - The cause which may be later retrieved by the Throwable.getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown.
    • Method Detail

      • getMessageObject

        public final LocalizableMessage getMessageObject()
        Returns the localizable message that explains the problem that occurred.
        Specified by:
        getMessageObject in interface LocalizableException
        Returns:
        The localizable message that explains the problem that occurred.