|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.core.DefaultCodeMessageFormatter de.smartics.exceptions.i18n.DefaultI18nCodeMessageFormatter
public class DefaultI18nCodeMessageFormatter
Default implementation to format code messages in the context of I18N.
Constructor Summary | |
---|---|
DefaultI18nCodeMessageFormatter() Default constructor. |
Method Summary | |
---|---|
String |
format(LocalizedException exception) Formats the given exception. |
String |
format(LocalizedException exception, MessageBean message) Formats the given message. |
String |
format(MessageBean message) Formats the given message. |
Methods inherited from class de.smartics.exceptions.core.DefaultCodeMessageFormatter |
---|
format, format, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.smartics.exceptions.core.CodeMessageFormatter |
---|
format, format |
Constructor Detail |
---|
public DefaultI18nCodeMessageFormatter()
Method Detail |
---|
public final String format(LocalizedException exception)
I18nCodeMessageFormatter
Implementations must not use the toString
method of the given exception
since the instance delegates its toString
method call to this instance.
format
in interface
I18nCodeMessageFormatter
exception
- the exception to transform to its string representation.
public final String format(LocalizedException exception, MessageBean message)
I18nCodeMessageFormatter
Implementations must not use the toString
method of the given message
since the instance delegates its toString
method call to this instance.
format
in interface
I18nCodeMessageFormatter
exception
- the exception to transform to its string representation.
message
- the message to transform to be added to the string representation.
public final String format(MessageBean message)
I18nCodeMessageFormatter
Implementations must not use the toString
method of the given message
since the instance delegates its toString
method call to this instance.
format
in interface
I18nCodeMessageFormatter
message
- the message to transform to its string representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |