com.levigo.util.log.qualified
Interface QualifiedMessage

All Superinterfaces:
Serializable
All Known Subinterfaces:
QualifiedLogEvent, UnresolvedQualifiedLogEvent, UnresolvedQualifiedMessage
All Known Implementing Classes:
AbstractQualifiedException, AbstractQualifiedRuntimeException, DefaultQualifiedLogEvent, DocumentStateException, JadiceException, JadiceRuntimeException, ResolvedQualifiedLogEvent

public interface QualifiedMessage
extends Serializable

This interface may be implemented by entities which carry qualified messages, i.e. messages, which have a globally-unique and L18N independent ID.


Method Summary
 String getId()
          returns the message id of this logging event in the format COMPONENT_ID-EVENT_ID.
 String getMessage()
          Resolves and returns the human-readable message text of this qualified entity using the current default locale, i.e.
 

Method Detail

getId

String getId()
returns the message id of this logging event in the format COMPONENT_ID-EVENT_ID. The COMPONENT_ID and EVENT_ID may contain arbitrary characters except the dash (-).

Returns:

getMessage

String getMessage()
Resolves and returns the human-readable message text of this qualified entity using the current default locale, i.e. the one returned by Locale.getDefault().

Caveats:

Returns:
a human readable message text for this QualifiedMessage entity.


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.