|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalizedException
Provides access to the localized exception implementations through a common interface.
Method Summary | |
---|---|
String |
getMessage(Locale locale, MessageType messageType) Returns the message for the given message type. |
String |
getMessage(MessageType messageType) Returns the message for the given message type and the system's default locale. |
String |
getMessages() Returns the messages in one string. |
String |
getMessages(Locale locale) Returns the messages in one string. |
Methods inherited from interface de.smartics.exceptions.CoreException |
---|
getCause, getCode, getId, getLocalizedMessage, getMessage, getStackTrace, getTime, setStackTrace, truncateCause |
Method Detail |
---|
String getMessage(MessageType messageType)
messageType
- the type if message to return.
String getMessage(Locale locale, MessageType messageType)
locale
- the locale to select the localized message.
messageType
- the type if message to return.
String getMessages(Locale locale)
message types
for debugging.
locale
- the locale to use for the dump.
types
of messages.
String getMessages()
message types
for debugging.
Uses the default locale to access the messages.
types
of messages.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |