< prev index next >

src/java.base/share/classes/java/security/cert/CertPath.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

*** 246,267 **** /** * Returns the encoded form of this certification path, using the default * encoding. * * @return the encoded bytes ! * @exception CertificateEncodingException if an encoding error occurs */ public abstract byte[] getEncoded() throws CertificateEncodingException; /** * Returns the encoded form of this certification path, using the * specified encoding. * * @param encoding the name of the encoding to use * @return the encoded bytes ! * @exception CertificateEncodingException if an encoding error occurs or * the encoding requested is not supported */ public abstract byte[] getEncoded(String encoding) throws CertificateEncodingException; --- 246,267 ---- /** * Returns the encoded form of this certification path, using the default * encoding. * * @return the encoded bytes ! * @throws CertificateEncodingException if an encoding error occurs */ public abstract byte[] getEncoded() throws CertificateEncodingException; /** * Returns the encoded form of this certification path, using the * specified encoding. * * @param encoding the name of the encoding to use * @return the encoded bytes ! * @throws CertificateEncodingException if an encoding error occurs or * the encoding requested is not supported */ public abstract byte[] getEncoded(String encoding) throws CertificateEncodingException;
< prev index next >