[jboss-jira] [JBoss JIRA] Resolved: (JGRP-562) Message.setObject() and Message.getObject() hide exceptions thrown during serialization/deserialization

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Jul 18 09:50:47 EDT 2007


     [ http://jira.jboss.com/jira/browse/JGRP-562?page=all ]

Bela Ban resolved JGRP-562.
---------------------------

    Resolution: Done

done, thx

> Message.setObject() and Message.getObject() hide exceptions thrown during serialization/deserialization
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JGRP-562
>                 URL: http://jira.jboss.com/jira/browse/JGRP-562
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Michael Newcomb
>         Assigned To: Bela Ban
>            Priority: Trivial
>             Fix For: 2.6
>
>
> catch(Exception ex) {
>   throw new IllegalArgumentException(ex.toString());
> }
> Should throw new IllegalArgumentException(ex);
> I have not checked the source, but a quick scan might reveal other such uses.
> FYI, had a NullPointerException thrown, but it was just reported as 'null' since just the message was put into the IllegalArgumentException.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list