harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r495638 - in /harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial: SerialJavaObject.java SerialRef.java
Date Fri, 12 Jan 2007 16:57:52 GMT
Author: tellison
Date: Fri Jan 12 08:57:50 2007
New Revision: 495638

URL: http://svn.apache.org/viewvc?view=rev&rev=495638
Log:
Apply patch HARMONY-2989 ([classlib][sql] Several methods signatures are not compatible with
spec in javax.sql.rowset.serial package)

Modified:
    harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialJavaObject.java
    harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialRef.java

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialJavaObject.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialJavaObject.java?view=diff&rev=495638&r1=495637&r2=495638
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialJavaObject.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialJavaObject.java
Fri Jan 12 08:57:50 2007
@@ -35,9 +35,9 @@
 
 	private transient Field[] fields;
 
-	public SerialJavaObject(Object obj) {
-		this.obj = obj;
-	}
+	public SerialJavaObject(Object obj) throws SerialException {
+        this.obj = obj;
+    }
 
 	public Field[] getFields() throws SerialException {
 		if (fields == null) {
@@ -46,7 +46,7 @@
 		return fields;
 	}
 
-	public Object getObject() {
+	public Object getObject() throws SerialException {
 		return obj;
 	}
 }

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialRef.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialRef.java?view=diff&rev=495638&r1=495637&r2=495638
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialRef.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/javax/sql/rowset/serial/SerialRef.java
Fri Jan 12 08:57:50 2007
@@ -54,7 +54,7 @@
 		}
 	}
 
-	public String getBaseTypeName() throws SQLException {
+	public String getBaseTypeName() throws SerialException {
 		return baseTypeName;
 	}
 



Mime
View raw message