Your compiling with JDK1.4 to see this as Throwable did not have a getCause method
until 1.4. I would think that the org.jboss.ejb.DeploymentException be dropped in
favor of org.jboss.deployment.DeploymentException.
----- Original Message -----
From: "Darius Davidavicius" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 3:13 AM
Subject: [JBoss-dev] JBOSS CVS compile error
> Hi all
>
> before getting new source file from CVS i delete old source code
>
> i took Jboss application server source code from
>(jboss:cvs.sourceforge.net:/cvsroot/jboss).
>
> When i compile i getting :
> compile:
> [javac] Compiling 1 source file to F:\WORK\JBoss2\jboss\build\classes
> [javac] F:\WORK\JBoss2\jboss\src\main\org\jboss\ejb\DeploymentException.java
>:40: The method java.lang.Exception getCause()
declared in class
> org.jboss.ejb.DeploymentException cannot override the method of the same signature
>declared in class java.lang.Throwable. They
must have the same
> return type.
> [javac] public Exception getCause() { return cause; }
> [javac] ^
> [javac] 1 error
>
>
> It is stange i can find 2 DeploymentExeption.java files:
> in package package org.jboss.deployment and
> in package org.jboss.ejb (here i can found public Exception getCause() { return
>cause; } )
>
> I agree with compiler it should be public Throwable getCause() { return cause; }
> And i think it is enouth to have just one DeploymentExeption.java, is not?
>
> regards,
> Darius Davidavicius
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development