< prev index next >

src/java.base/share/classes/java/security/Certificate.java

Print this page
rev 56290 : 8230648: Replace @exception tag with @throws in java.base
Summary: Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: prappo, lancea

*** 1,7 **** /* ! * Copyright (c) 1996, 2017, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1996, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 99,112 **** * be decoded by the {@code decode} method. * * @param stream the output stream to which to encode the * certificate. * ! * @exception KeyException if the certificate is not * properly initialized, or data is missing, etc. * ! * @exception IOException if a stream exception occurs while * trying to output the encoded certificate to the output stream. * * @see #decode * @see #getFormat */ --- 99,112 ---- * be decoded by the {@code decode} method. * * @param stream the output stream to which to encode the * certificate. * ! * @throws KeyException if the certificate is not * properly initialized, or data is missing, etc. * ! * @throws IOException if a stream exception occurs while * trying to output the encoded certificate to the output stream. * * @see #decode * @see #getFormat */
*** 119,132 **** * {@code encode}. * * @param stream the input stream from which to fetch the data * being decoded. * ! * @exception KeyException if the certificate is not properly initialized, * or data is missing, etc. * ! * @exception IOException if an exception occurs while trying to input * the encoded certificate from the input stream. * * @see #encode * @see #getFormat */ --- 119,132 ---- * {@code encode}. * * @param stream the input stream from which to fetch the data * being decoded. * ! * @throws KeyException if the certificate is not properly initialized, * or data is missing, etc. * ! * @throws IOException if an exception occurs while trying to input * the encoded certificate from the input stream. * * @see #encode * @see #getFormat */
< prev index next >