[jboss-jira] [JBoss JIRA] Assigned: (JBAS-4539) Modify HA-JNDI not to leak JBoss Cache CacheException

Jerry Gauthier (JIRA) jira-events at lists.jboss.org
Mon Jul 23 14:36:47 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBAS-4539?page=all ]

Jerry Gauthier reassigned JBAS-4539:
------------------------------------

    Assignee: Jerry Gauthier  (was: Brian Stansberry)

> Modify HA-JNDI not to leak JBoss Cache CacheException
> -----------------------------------------------------
>
>                 Key: JBAS-4539
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4539
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>            Reporter: Brian Stansberry
>         Assigned To: Jerry Gauthier
>             Fix For: JBossAS-5.0.0.CR1
>
>
> JBoss Cache will likely not be on a remote HA-JNDI client's classpath. So, need to ensure CacheException doesn't leak to the client via exception chaining. 
> Use:
> NamingException ne = new NamingException(ce.getClass().getName() + " " + ce.getMessage());
> ne.setStackTrace(ce.getStackTrace());
> throw ne;
> Not:
> throw new NamingException(ce);

-- 
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