• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

Hello,

EHCache does not yet run on Java versions older than 1.4. Reason for this is that you use the new 1.4 Exception constructors in class “net.sf.ehcache.CacheException”.

You only need a small fix to get this working: instead of inheriting from java.lang.Exception, change the class to inherit from org.apache.commons.lang.exception.NestableException. Of course, this creates a dependency to commons-lang, but Hibernate itself is dependent on it too, so that shouldn’t be a problem.

I’ve attached a patch file.

Best regards, Ville Peurala ([email protected])

Sourceforge Ticket ID: 858280 - Opened By: nobody - 11 Dec 2003 14:10 UTC

Comments

Sourceforge Tracker 2009-09-21

Logged In: YES user_id=693320

I am now using only the old constructors. This is backwardly compatible with earlier versions of Java.

It does not require commons-lang. Comment by: gregluck - 19 Mar 2004 00:32 UTC

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira