|
||||||||||
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 | |
---|---|
Messages |
createMessages() Returns a created messages instance. |
Messages |
createMessages(Locale locale) Returns a created messages instance. |
CauseTrailMessages |
getCauseTrail() Returns the cause trail of messages. |
CauseTrailMessages |
getCauseTrail(Locale locale) Returns the cause trail of messages. |
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.
Messages createMessages(Locale locale)
locale
- the locale to use for the dump.
types
.
Messages createMessages()
Uses the default locale to access the messages.
types
.
CauseTrailMessages getCauseTrail()
CauseTrailMessages getCauseTrail(Locale locale)
locale
- the locale to use for the dump.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |