Author: julien(a)jboss.com
Date: 2007-02-06 06:19:51 -0500 (Tue, 06 Feb 2007)
New Revision: 6173
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/config/impl/ProducerRegistrationRequirementsImpl.java
Log:
make compile on 1.4
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/config/impl/ProducerRegistrationRequirementsImpl.java
===================================================================
---
trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/config/impl/ProducerRegistrationRequirementsImpl.java 2007-02-06
05:05:56 UTC (rev 6172)
+++
trunk/wsrp/src/main/org/jboss/portal/wsrp/producer/config/impl/ProducerRegistrationRequirementsImpl.java 2007-02-06
11:19:51 UTC (rev 6173)
@@ -212,11 +212,15 @@
}
catch (ClassNotFoundException e)
{
- throw new IllegalArgumentException("Couldn't find policy class
" + policyClassName + ".", e);
+ IllegalArgumentException iae = new
IllegalArgumentException("Couldn't find policy class " + policyClassName +
".");
+ iae.initCause(e);
+ throw iae;
}
catch (Exception e)
{
- throw new IllegalArgumentException("Couldn't instantiate policy
class.", e);
+ IllegalArgumentException iae = new
IllegalArgumentException("Couldn't instantiate policy class.");
+ iae.initCause(e);
+ throw iae;
}
}
else
@@ -241,11 +245,15 @@
}
catch (ClassNotFoundException e)
{
- throw new IllegalArgumentException("Couldn't find validator class
" + validatorClassName + ".", e);
+ IllegalArgumentException iae = new
IllegalArgumentException("Couldn't find validator class " +
validatorClassName + ".");
+ iae.initCause(e);
+ throw iae;
}
catch (Exception e)
{
- throw new IllegalArgumentException("Couldn't instantiate
validator class.", e);
+ IllegalArgumentException iae = new
IllegalArgumentException("Couldn't instantiate validator class.");
+ iae.initCause(e);
+ throw iae;
}
policy = new DefaultRegistrationPolicy();
Show replies by date