From dffe9db25c19a7e99d3d35c535197bf7e4c15c8a Mon Sep 17 00:00:00 2001 From: Vipin Sharma Date: Fri, 2 Oct 2020 14:50:53 +0000 Subject: 8252537: Updated @exception with @throws 8252536: Replace @exception with @throws for core-libs 8252539: Replace @exception with @throws java.rmi.activation package 8252540: Replace @exception with @throws java.rmi.registry package 8252541: Replace @exception with @throws java.rmi.server package Reviewed-by: rriggs, sspitsyn, lancea --- src/java.sql/share/classes/java/sql/Driver.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/java.sql/share/classes/java/sql/Driver.java') diff --git a/src/java.sql/share/classes/java/sql/Driver.java b/src/java.sql/share/classes/java/sql/Driver.java index d690dd408b8..69d4f6362db 100644 --- a/src/java.sql/share/classes/java/sql/Driver.java +++ b/src/java.sql/share/classes/java/sql/Driver.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2020, 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 @@ -85,7 +85,7 @@ public interface Driver { * "password" property should be included. * @return a Connection object that represents a * connection to the URL - * @exception SQLException if a database access error occurs or the url is + * @throws SQLException if a database access error occurs or the url is * {@code null} */ Connection connect(String url, java.util.Properties info) @@ -100,7 +100,7 @@ public interface Driver { * @param url the URL of the database * @return true if this driver understands the given URL; * false otherwise - * @exception SQLException if a database access error occurs or the url is + * @throws SQLException if a database access error occurs or the url is * {@code null} */ boolean acceptsURL(String url) throws SQLException; @@ -123,7 +123,7 @@ public interface Driver { * @return an array of DriverPropertyInfo objects describing * possible properties. This array may be an empty array if * no properties are required. - * @exception SQLException if a database access error occurs + * @throws SQLException if a database access error occurs */ DriverPropertyInfo[] getPropertyInfo(String url, java.util.Properties info) throws SQLException; -- cgit v1.3.1