SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-732
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Kenny MacLeod
Votes: 0
Watchers: 0
Operations

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

Improve exception message in LuceneSearchEngine.verifyWithinTransaction()

Created: 07/Oct/08 07:42 AM   Updated: 07/Oct/08 08:08 AM
Component/s: Compass::Core
Affects Version/s: 2.1.0 M4
Fix Version/s: 2.1.0 RC


 Description  « Hide
LuceneSearchEngine.verifyWithinTransaction() throws an exception with a generic message if the transaction is not in the STARTED state. This message covers two distinct cases - no tx started, or tx already completed. The message gives no clue as to which one it was.

Please improve the message to say which state the tx is in, if it is not in the expected state.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 07/Oct/08 08:08 AM
Make sense, fixed.