[jboss-cvs] JBossAS SVN: r62066 - branches/Branch_4_0/server/src/main/org/jboss/ejb/plugins/keygenerator/hilo.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Apr 3 19:19:22 EDT 2007
Author: scott.stark at jboss.org
Date: 2007-04-03 19:19:21 -0400 (Tue, 03 Apr 2007)
New Revision: 62066
Modified:
branches/Branch_4_0/server/src/main/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactory.java
Log:
Fix the invalid jdk5 IllegalStatException ctor use
Modified: branches/Branch_4_0/server/src/main/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactory.java
===================================================================
--- branches/Branch_4_0/server/src/main/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactory.java 2007-04-03 23:01:27 UTC (rev 62065)
+++ branches/Branch_4_0/server/src/main/org/jboss/ejb/plugins/keygenerator/hilo/HiLoKeyGeneratorFactory.java 2007-04-03 23:19:21 UTC (rev 62066)
@@ -443,7 +443,8 @@
}
catch(Exception e)
{
- throw new IllegalStateException("Failed to lookup the DataSource " + dataSource, e);
+ IllegalStateException ise = new IllegalStateException("Failed to lookup the DataSource " + dataSource);
+ ise.initCause(e);
}
}
}
More information about the jboss-cvs-commits
mailing list