You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by Oleg Merlugov <om...@hotmail.com> on 2003/05/02 00:13:36 UTC

[SOURCE] Issue #JCSS1 - Change signature of 'put(Object, Object)'

You can view the issue detail at the following URL:
<http://scarab.werken.com/scarab/issues/id/JCSS1>

Type :        Enhancement
Issue Id :    JCSS1
Reported by: Oleg Merlugov
             merlugov - (omerlugov@hotmail.com)

Details:

Summary: Change signature of 'put(Object, Object)'
Description: Change signature of put(Object, Object) to
put(Serializable, Serializable). The exception "java.lang.ClassCastException <your.class.name>" thrown when you forget to make you obj Serializable is not helpful at all. You have to look at the source code to find out which class it is trying to cast to. 
This might be applicable for other methods as well (like putSafe etc.)  
Status: New
Priority: Low
Functional area: Setup