https://issues.apache.org/bugzilla/show_bug.cgi?id=49483

--- Comment #3 from sean.mul...@oracle.com 2010-07-02 09:11:44 EDT ---
(In reply to comment #2)
> Hi Clement,
> 
> A problem with this patch is that it is not compatible with JDK 1.4:
> 
>     [javac] symbol  : constructor IllegalArgumentException
> (java.lang.String,java.lang.Exception)
>     [javac] location: class java.lang.IllegalArgumentException
>     [javac]            throw new IllegalArgumentException("Invalid KeyResolver
> class name", ex);
>     [javac]                  ^
>     [javac] 1 error
> 
> Colm.

You can make that compatible with 1.4 as follows:

throw (IllegalArgumentException) new 
       IllegalArgumentException("Invalid KeyResolver class
name").initCause(ex);

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to