[jboss-jira] [JBoss JIRA] Commented: (JBWEB-171) ClusteredSession.setAttribute() could report the attribute name and/or class FQN when not serializable
Chris Laprun (JIRA)
jira-events at lists.jboss.org
Thu Sep 8 17:22:26 EDT 2011
[ https://issues.jboss.org/browse/JBWEB-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627364#comment-12627364 ]
Chris Laprun commented on JBWEB-171:
------------------------------------
It's not like it's difficult to implement either:
clusteredSession.setAttribute.iae=setAttribute: Non-serializable attribute {0} in LocalStrings.properties
and
(sm.getString("clusteredSession.setAttribute.iae", name));
or whatever in setAttribute…
> ClusteredSession.setAttribute() could report the attribute name and/or class FQN when not serializable
> ------------------------------------------------------------------------------------------------------
>
> Key: JBWEB-171
> URL: https://issues.jboss.org/browse/JBWEB-171
> Project: JBoss Web
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Cluster
> Affects Versions: JBossWeb-2.1.3.GA
> Reporter: James Livingston
> Assignee: Remy Maucherat
> Priority: Minor
>
> org.jboss.web.tomcat.service.session.ClusteredSession.setAttribute() raises an exception with the clusteredSession.setAttribute.iae message if the attribute can't be replicated (i.e. isn't Serializable or a primitive).
> It would be nice if it mentioned the attribute name and/or the class FQN in the error message to aid in debugging.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list