Issue Details (XML | Word | Printable)

Key: DBUTILS-7
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Michael Schuerig
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons DbUtils

[dbutils] MockResultSet: Throw UnsupportedOperationException for not implemented methods

Created: 15/Jan/05 06:53 AM   Updated: 02/Jan/08 07:29 AM
Return to search
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.1

Time Tracking:
Not Specified

Environment:
Operating System: Linux
Platform: Other

Bugzilla Id: 33108
Resolution Date: 06/Jul/06 01:56 PM


 Description  « Hide
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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #419469 Thu Jul 06 06:56:56 UTC 2006 bayard Changed mocks to throw UnsupportedOperationException for unimplemented methods instead of being stubbed out as requested in DBUTILS-7
Files Changed
MODIFY /jakarta/commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/MockResultSetMetaData.java
MODIFY /jakarta/commons/proper/dbutils/trunk/src/test/org/apache/commons/dbutils/MockResultSet.java