CurrencyUnit.
| Modifier and Type | Field and Description |
|---|---|
| private final String | currencyCode
The invalid currency code requested. |
| private final Locale | |
| private static final long | serialVersionUID
serialVersionUID.
|
| Access | Constructor and Description |
|---|---|
| public | UnknownCurrencyException(String
The unknown currency code (the message is constructed automatically), not null. code)Creates a new exception instance when a |
| public | UnknownCurrencyException(Locale
The unknown locale)Locale, for which a CurrencyUnit was queried (the
message is constructed automatically), not null.Creates a new exception instance when a |
| currencyCode | back to summary |
|---|---|
| private final String currencyCode The invalid currency code requested. | |
| locale | back to summary |
|---|---|
| private final Locale locale The invalid | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. serialVersionUID. | |
| UnknownCurrencyException | back to summary |
|---|---|
| public UnknownCurrencyException(String code) Creates a new exception instance when a
| |
| UnknownCurrencyException | back to summary |
|---|---|
| public UnknownCurrencyException(Locale locale) Creates a new exception instance when a
| |
| getCurrencyCode | back to summary |
|---|---|
| public String getCurrencyCode() Access the invalid currency code.
| |
| getLocale | back to summary |
|---|---|
| public Locale getLocale() Access the invalid | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a short description of this throwable. The result is the concatenation of:
getLocalizedMessage returns null, then just
the class name is returned.
| |