CDV ❯ Augment the error message in UnlockedSharedException to include some more guardrails
-
New Feature
-
Status: Closed
-
2 Major
-
Resolution: Duplicate
-
-
-
prodmgmt
-
Reporter:
-
October 01, 2008
-
0
-
Watchers: 0
-
February 17, 2009
-
December 09, 2008
Description
I’ve seen a number of people end up locking *tons* of code because of the chain of UnlockedSharedExceptions they get. We should provide messaging when UnlockedSharedException happens about how they probably don’t want to blindly lock where we tell them they need locking in the error.
Once place we can point them to is the new Lock Primer in the Concept and Architeture Guide:
http://www.terracotta.org/web/display/docs/Concept+and+Architecture+Guide#ConceptandArchitectureGuide-Locks (obviously don’t link directly to this URL– use the reflector)
We might consider augmenting this even more to highlight this issue and suggest ways around it.
Comments
Fiona OShea 2008-10-01
Taylor Gautier 2008-10-01
Found it, but it is still TBD for USE - I only did NonPortable.
Fiona OShea 2008-10-01
based on Taylor’s comment. Setting to PM./Pending
Fiona find the DEV dup of this.