net.sourceforge.argval.message
Interface MessageItem

All Known Implementing Classes:
MessageItemImpl

public interface MessageItem

The MessageItem interface gives access to a text message. It can also hold a Throwable and a time stamp ad which the message was created.

Author:
T. Verhagen

Method Summary
 Throwable getCause()
          If the message is related to a cause, this returns that cause.
 Date getDate()
          Returns the time stamp ad which the message was created.
 String getMessage()
          Returns the message text.
 String getPriority()
          Returns the message priority.
 

Method Detail

getDate

Date getDate()
Returns the time stamp ad which the message was created.

Returns:
The time stamp ad which the massage was created.

getPriority

String getPriority()
Returns the message priority.

Returns:
The message priority.

getCause

Throwable getCause()
If the message is related to a cause, this returns that cause.

Returns:
The cause related to the message.

getMessage

String getMessage()
Returns the message text.

Returns:
The message text.


Copyright © 2013 Verhagen Software. All Rights Reserved.