Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Issues List »

[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3412) change to
CacheException not binary compatible

Anupam M (JIRA)

2008-08-01


Author LoginPost Reply
change to CacheException not binary compatible
----------------------------------------------

          Key: HHH-3412
          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3412
        Project: Hibernate3
      Issue Type: Bug
      Components: caching (L2)
  Affects Versions: 3.2.5
       Reporter: Reed Ellsworth


There used to be a constructor CacheException(Exception) now there is CacheException(Throwable). This source compatible but not binary compatible. This is a problem if you use ehcache which is quite common. The latest ehcache 1.5.0 is compile against hibernate 3.2.1. Whenever, ehcache throws an exception it is lost because Java will throw a MethodNotFound exception when trying to create an instance of CacheException(Exception). Which of course means the real exception is lost and hibernate reports the MethodNotFound exception.

Please add an additional constructor CacheException(Exception).


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

   
_______________________________________________
hibernate-issues mailing list
hibernate-issues@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-issues
©2008 gg3721.com - Jax Systems, LLC, U.S.A.