db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: Changes to src\tools\org\apache\ojb\tools\mapping\forward\RepositoryXmlProcessor.java
Date Wed, 09 Aug 2006 15:12:44 GMT
Hi,

Chiah Tong Kiat wrote:
> 
> 
> Having compilation error in JDK 1.3.   The following is the fix for it 
> to work.
> 

Thanks for the hint.
Now ForwardException extend 
org.apache.commons.lang.exception.NestableRuntimeException. This class 
is AFAIK compatible with JDK1.3 and can handle Throwable constructor too.

regards,
Armin

>  
> 
>  
> 
> Index: RepositoryXmlProcessor.java
> 
> ===================================================================
> 
> --- RepositoryXmlProcessor.java  (revision 429533)
> 
> +++ RepositoryXmlProcessor.java           (working copy)
> 
> @@ -814,12 +814,12 @@
> 
>  
> 
>          public ForwardException(Throwable cause)
> 
>          {
> 
> -            super(cause);
> 
> +            super(cause.getMessage());
> 
>          }
> 
>  
> 
>          public ForwardException(String message, Throwable cause)
> 
>          {
> 
> -            super(message, cause);
> 
> +            super(message);
> 
>          }
> 
>      }
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message