You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/07/06 08:57:30 UTC
[jira] Resolved: (DBUTILS-7) [dbutils] MockResultSet: Throw
UnsupportedOperationException for not implemented methods
[ 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