|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--multex.MsgText
Services for getting the message text for exceptions. It handles exceptions
Exc)
Failure)
| Field Summary | |
static java.lang.String |
lineSeparator
Returns the line separator for the actual platform. |
| Method Summary | |
static java.lang.String |
getMessageChain(java.lang.Throwable i_throwable)
Returns the message for i_throwable with its causal chain. |
static java.lang.String |
getMessageLine(java.lang.Throwable i_throwable)
Result: A usually one-line message text for the exception i_throwable with inserted parameters. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final java.lang.String lineSeparator
| Method Detail |
public static java.lang.String getMessageChain(java.lang.Throwable i_throwable)
lineSeparator. See getMessageLine(java.lang.Throwable) for a despription,
how each exception is transformed into a message line.public static java.lang.String getMessageLine(java.lang.Throwable i_throwable)
This file must contain definition lines of the form:
packageName.ExceptionName = message text patternor
packageName.ClassName$InnerExceptionName = message text patternwith parameter substitutors in the message text pattern, e.g. with named parameters:
CopyNP$CopyFailure = The file "{inFileName}" could not be copied to "{outFileName}"
or with (deprecated) indexed parameters:
Copy$CopyFailure = The file "{0}" could not be copied to "{1}"
If i_throwable is a standard Java exception with one String as
detailMessage, this is taken as message parameter {0}.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||