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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to