mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base Reviewed-by: prappo, lancea
This commit is contained in:
parent
2fc6c6459d
commit
b15b322cf3
196 changed files with 1959 additions and 1962 deletions
|
@ -289,8 +289,8 @@ public final class Currency implements Serializable {
|
|||
*
|
||||
* @param currencyCode the ISO 4217 code of the currency
|
||||
* @return the <code>Currency</code> instance for the given currency code
|
||||
* @exception NullPointerException if <code>currencyCode</code> is null
|
||||
* @exception IllegalArgumentException if <code>currencyCode</code> is not
|
||||
* @throws NullPointerException if <code>currencyCode</code> is null
|
||||
* @throws IllegalArgumentException if <code>currencyCode</code> is not
|
||||
* a supported ISO 4217 code.
|
||||
*/
|
||||
public static Currency getInstance(String currencyCode) {
|
||||
|
@ -372,9 +372,9 @@ public final class Currency implements Serializable {
|
|||
* instance is needed
|
||||
* @return the <code>Currency</code> instance for the country of the given
|
||||
* locale, or {@code null}
|
||||
* @exception NullPointerException if <code>locale</code>
|
||||
* @throws NullPointerException if <code>locale</code>
|
||||
* is {@code null}
|
||||
* @exception IllegalArgumentException if the country of the given {@code locale}
|
||||
* @throws IllegalArgumentException if the country of the given {@code locale}
|
||||
* is not a supported ISO 3166 country code.
|
||||
*/
|
||||
public static Currency getInstance(Locale locale) {
|
||||
|
@ -537,7 +537,7 @@ public final class Currency implements Serializable {
|
|||
* @param locale the locale for which a display name for this currency is
|
||||
* needed
|
||||
* @return the symbol of this currency for the specified locale
|
||||
* @exception NullPointerException if <code>locale</code> is null
|
||||
* @throws NullPointerException if <code>locale</code> is null
|
||||
*/
|
||||
public String getSymbol(Locale locale) {
|
||||
LocaleServiceProviderPool pool =
|
||||
|
@ -632,7 +632,7 @@ public final class Currency implements Serializable {
|
|||
* @param locale the locale for which a display name for this currency is
|
||||
* needed
|
||||
* @return the display name of this currency for the specified locale
|
||||
* @exception NullPointerException if <code>locale</code> is null
|
||||
* @throws NullPointerException if <code>locale</code> is null
|
||||
* @since 1.7
|
||||
*/
|
||||
public String getDisplayName(Locale locale) {
|
||||
|
@ -1197,5 +1197,3 @@ public final class Currency implements Serializable {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue