commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DBUTILS-7) [dbutils] MockResultSet: Throw UnsupportedOperationException for not implemented methods
Date Thu, 06 Jul 2006 06:57:30 GMT
     [ http://issues.apache.org/jira/browse/DBUTILS-7?page=all ]
     
Henri Yandell resolved DBUTILS-7:
---------------------------------

    Fix Version: 1.1
     Resolution: Fixed

Seems like an improvement to me - have committed a fix. 

svn ci -m "Changed mocks to throw UnsupportedOperationException for unimplemented methods
instead of being stubbed out as requested in DBUTILS-7" src/test/org/apache/commons/dbutils/MockResultSet*.java
Sending        src/test/org/apache/commons/dbutils/MockResultSet.java
Sending        src/test/org/apache/commons/dbutils/MockResultSetMetaData.java
Transmitting file data ..
Committed revision 419469.

> [dbutils] MockResultSet: Throw UnsupportedOperationException for not implemented methods
> ----------------------------------------------------------------------------------------
>
>          Key: DBUTILS-7
>          URL: http://issues.apache.org/jira/browse/DBUTILS-7
>      Project: Commons DbUtils
>         Type: Bug

>     Versions: 1.0
>  Environment: Operating System: Linux
> Platform: Other
>     Reporter: Michael Schuerig
>      Fix For: 1.1

>
> Currently the proxy generated by MockResultSet quietly returns null when it is 
> invoked for a method that it does not implement. This may lead to strange an 
> unexpected errors in other places. Please make it throw an 
> UnsupportedOperationException instead. 
>  
> Michael

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message