public abstract URL getURL (int parameterIndex) throws SQLException

Retrieves the value of the designated JDBC DATALINK parameter as a java.net.URL object.

Parameters:
parameterIndex    the first parameter is 1, the second is 2,...

Returns:  a java.net.URL object that represents the JDBC DATALINK value used as the designated parameter

Exceptions:
SQLException    if the parameterIndex is not valid; if a database access error occurs, this method is called on a closed CallableStatement, or if the URL being returned is not a valid URL on the Java platform
SQLFeatureNotSupportedException    if the JDBC driver does not support this method

See also:
setURL

Since:  1.4