| Modifier and Type | Field and Description |
|---|---|
| public static final String | DETAIL_ENTRY
detail entry key |
| public static final String | SUMMARY_ENTRY
summary entry key |
| Access | Constructor and Description |
|---|---|
| public | ErrorBundle(String
base name of the resource file resource, String the id of the corresponding bundle in the resource file id)Constructs a new ErrorBundle using |
| public | ErrorBundle(String
base name of the resource file resource, String the id of the corresponding bundle in the resource file id, String the encoding of the resource file encoding)Constructs a new ErrorBundle using |
| public | ErrorBundle(String
base name of the resource file resource, String the id of the corresponding bundle in the resource file id, Object[] an array containing the arguments for the message arguments)Constructs a new ErrorBundle using |
| public | ErrorBundle(String
base name of the resource file resource, String the id of the corresponding bundle in the resource file id, String the encoding of the resource file encoding, Object[] an array containing the arguments for the message arguments)Constructs a new ErrorBundle using |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public String | Returns: the summary message.the loc, TimeZone Localethe timezone)TimeZoneReturns the summary message in the given locale and timezone. |
| public String | Returns: the summary message.the loc)LocaleReturns the summary message in the given locale and the default timezone. |
| DETAIL_ENTRY | back to summary |
|---|---|
| public static final String DETAIL_ENTRY detail entry key | |
| SUMMARY_ENTRY | back to summary |
|---|---|
| public static final String SUMMARY_ENTRY summary entry key | |
| ErrorBundle | back to summary |
|---|---|
| public ErrorBundle(String resource, String id) throws NullPointerException Constructs a new ErrorBundle using
| |
| ErrorBundle | back to summary |
|---|---|
| public ErrorBundle(String resource, String id, String encoding) throws NullPointerException, UnsupportedEncodingException Constructs a new ErrorBundle using
| |
| ErrorBundle | back to summary |
|---|---|
| public ErrorBundle(String resource, String id, Object[] arguments) throws NullPointerException Constructs a new ErrorBundle using
| |
| ErrorBundle | back to summary |
|---|---|
| public ErrorBundle(String resource, String id, String encoding, Object[] arguments) throws NullPointerException, UnsupportedEncodingException Constructs a new ErrorBundle using
| |
| getDetail | back to summary |
|---|---|
| public String getDetail(Locale loc, TimeZone timezone) throws MissingEntryException Returns the detail message in the given locale and timezone. | |
| getDetail | back to summary |
|---|---|
| public String getDetail(Locale loc) throws MissingEntryException Returns the detail message in the given locale and the default timezone.
| |
| getSummary | back to summary |
|---|---|
| public String getSummary(Locale loc, TimeZone timezone) throws MissingEntryException Returns the summary message in the given locale and timezone. | |
| getSummary | back to summary |
|---|---|
| public String getSummary(Locale loc) throws MissingEntryException Returns the summary message in the given locale and the default timezone.
| |