oracle.dacf.util.errormanager
Interface ErrorAttribute
- All Known Implementing Classes:
- ErrorSeverity, ErrorTimeStamp, ErrorTimeStamp.ErrorDate, ErrorTimeStamp.ErrorTime, ErrorType, SimpleErrorAttributeImpl, ErrorMessageText, ErrorMessageText.MessageId, ErrorMessageText.MessageText
- public interface ErrorAttribute
The ErrorAttribute interface defines an error attribute
to be recorded in the logging facilities.
Examples of error attributes are error severity,
time stamp, error message text, and so on.
An error attribute must define a String representation of the attribute
and a String defining the label.
Method Summary |
java.lang.String |
getLabel()
Returns the label you want to use when showing this attribute. |
java.lang.String |
toString()
Returns the String representation of this attribute. |
toString
public java.lang.String toString()
- Returns the String representation of this attribute.
- Overrides:
toString
in class java.lang.Object
- Returns:
- String the name of the attribute as a String.
getLabel
public java.lang.String getLabel()
- Returns the label you want to use when showing this attribute.
- Returns:
- the label used when displaying the attribute.