|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Marks an exception as to be handled especially by MsgText. A MultexException has indexed parameters as a polymorphic Object[], which can be inserted into the message text by directives {0} to {9}. Subclasses should provide a constructor with an Object[] of up to 10 elements and convenience constructors with up to 10 individual parameters of type Object. See java.text.MessageFormat.
Method Summary | |
java.lang.String |
getDefaultMessageTextPattern()
Returns the default message text pattern for this exception object or null. |
java.lang.String |
getMessage()
Returns all user-provided information contained in the exception object in an internal, but human readable format. |
java.lang.Object[] |
getParameters()
Returns the exception parameters |
Method Detail |
public java.lang.String getDefaultMessageTextPattern()
MsgText
.
Locale specific message text patterns are handled by MsgText, too.
public java.lang.Object[] getParameters()
public java.lang.String getMessage()
TEXT: Unable to create file {0} in directory {1} {0}=myfile.dat {1}=C:\temp\dataOverrides the same method of java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |