You are viewing a plain text version of this content. The canonical link for it is here.
Posted to phoenix-dev@avalon.apache.org by Johan Sjöberg <jo...@avaintec.com> on 2002/09/25 21:54:31 UTC

[PATCH] Bad Exception constructor in SarPolicyResolver.java

Hi!

Phoenix HEAD doesn't compile on JDK 1.3 due to line 105 in 
org.apache.avalon.phoenix.components.classloader.SarPolicyResolver

...SarPolicyResolver.java:105: cannot resolve symbol
     [javac] symbol  : constructor Exception 
(java.lang.String,java.lang.Exception)
     [javac] location: class java.lang.Exception
     [javac]             throw new Exception( message, e );
     [javac]                   ^
     [javac] 1 error

... patch included, but it is probably better to just fix this locally 
the way you want it, as I didn't check the meaning of the message and 
how the new Exception message would look in the log.

//
Johan

Re: [PATCH] Bad Exception constructor in SarPolicyResolver.java

Posted by Peter Donald <pe...@apache.org>.
fixed - tah!

On Thu, 26 Sep 2002 05:54, Johan Sjöberg wrote:
> Hi!
>
> Phoenix HEAD doesn't compile on JDK 1.3 due to line 105 in
> org.apache.avalon.phoenix.components.classloader.SarPolicyResolver
>
> ...SarPolicyResolver.java:105: cannot resolve symbol
>      [javac] symbol  : constructor Exception
> (java.lang.String,java.lang.Exception)
>      [javac] location: class java.lang.Exception
>      [javac]             throw new Exception( message, e );
>      [javac]                   ^
>      [javac] 1 error
>
> ... patch included, but it is probably better to just fix this locally
> the way you want it, as I didn't check the meaning of the message and
> how the new Exception message would look in the log.
>
> //
> Johan

-- 
Cheers,

Peter Donald
"All my life I wanted to be someone; I guess I should have been more 
specific."
-- Jane Wagner


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>