EHC ❯ Element.getValue() exception has incorrect message
-
Documentation
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
ehcache
-
-
alexsnaps
-
Reporter: kdombeck
-
August 12, 2010
-
0
-
Watchers: 0
-
October 19, 2010
-
August 29, 2010
Attachments
Description
If the *value* is not serializable it throws an exception as expected but the message is misleading.
It says “Consider using Element#getObjectKey()”
but it should say “Consider using Element#getObjectValue()”
Ken
Yep, simple error there. I have fixed it in trunk and it will be out in 2.3.