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:
Julia Boes 2019-09-20 11:07:52 +01:00
parent 2fc6c6459d
commit b15b322cf3
196 changed files with 1959 additions and 1962 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -56,7 +56,7 @@ public abstract class AlgorithmParametersSpi {
*
* @param paramSpec the parameter specification.
*
* @exception InvalidParameterSpecException if the given parameter
* @throws InvalidParameterSpecException if the given parameter
* specification is inappropriate for the initialization of this parameter
* object.
*/
@ -71,7 +71,7 @@ public abstract class AlgorithmParametersSpi {
*
* @param params the encoded parameters.
*
* @exception IOException on decoding errors
* @throws IOException on decoding errors
*/
protected abstract void engineInit(byte[] params)
throws IOException;
@ -88,7 +88,7 @@ public abstract class AlgorithmParametersSpi {
*
* @param format the name of the decoding format.
*
* @exception IOException on decoding errors
* @throws IOException on decoding errors
*/
protected abstract void engineInit(byte[] params, String format)
throws IOException;
@ -109,7 +109,7 @@ public abstract class AlgorithmParametersSpi {
*
* @return the parameter specification.
*
* @exception InvalidParameterSpecException if the requested parameter
* @throws InvalidParameterSpecException if the requested parameter
* specification is inappropriate for this parameter object.
*/
protected abstract
@ -124,7 +124,7 @@ public abstract class AlgorithmParametersSpi {
*
* @return the parameters encoded using their primary encoding format.
*
* @exception IOException on encoding errors.
* @throws IOException on encoding errors.
*/
protected abstract byte[] engineGetEncoded() throws IOException;
@ -139,7 +139,7 @@ public abstract class AlgorithmParametersSpi {
*
* @return the parameters encoded using the specified encoding scheme.
*
* @exception IOException on encoding errors.
* @throws IOException on encoding errors.
*/
protected abstract byte[] engineGetEncoded(String format)
throws IOException;