ErrorBundlepublic class ErrorBundle extends MessageBundle
Fields Summary |
---|
public static final String | SUMMARY_ENTRYsummary entry key | public static final String | DETAIL_ENTRYdetail entry key |
Constructors Summary |
---|
public ErrorBundle(String resource, String id)Constructs a new ErrorBundle using resource as the base name for the
RessourceBundle and id as the message bundle id the resource file.
super(resource, id);
| public ErrorBundle(String resource, String id, Object[] arguments)Constructs a new ErrorBundle using resource as the base name for the
RessourceBundle and id as the message bundle id the resource file.
super(resource, id, arguments);
|
Methods Summary |
---|
public java.lang.String | getDetail(java.util.Locale loc, java.util.TimeZone timezone)Returns the detail message in the given locale and timezone.
return getEntry(DETAIL_ENTRY,loc,timezone);
| public java.lang.String | getDetail(java.util.Locale loc)Returns the detail message in the given locale and the default timezone.
return getEntry(DETAIL_ENTRY,loc,TimeZone.getDefault());
| public java.lang.String | getSummary(java.util.Locale loc, java.util.TimeZone timezone)Returns the summary message in the given locale and timezone.
return getEntry(SUMMARY_ENTRY,loc,timezone);
| public java.lang.String | getSummary(java.util.Locale loc)Returns the summary message in the given locale and the default timezone.
return getEntry(SUMMARY_ENTRY,loc,TimeZone.getDefault());
|
|