Class StringFormattedMessage

    • Constructor Detail

      • StringFormattedMessage

        public StringFormattedMessage(String messagePattern,
                                      Object... arguments)
    • Method Detail

      • getFormattedMessage

        public String getFormattedMessage()
        Returns the formatted message.
        Specified by:
        getFormattedMessage in interface  Message
        Returns:
        the formatted message.
      • getFormat

        public String getFormat()
        Returns the message pattern.
        Specified by:
        getFormat in interface  Message
        Returns:
        the message pattern.
      • getParameters

        public Object[] getParameters()
        Returns the message parameters.
        Specified by:
        getParameters in interface  Message
        Returns:
        the message parameters.
      • equals

        public boolean equals(Object o)
      • hashCode

        public int hashCode()
      • toString

        public String toString()
      • getThrowable

        public Throwable getThrowable()
        Return the throwable passed to the Message.
        Specified by:
        getThrowable in interface  Message
        Returns:
        the Throwable.