ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Bernard <>
Subject RE: ejbjar with exception
Date Fri, 01 Mar 2002 20:13:10 GMT
I think this is harmless as it's only a caution.  Just out of curiosity what
compiler are you using?

-----Original Message-----
From: Ying Wang []
Sent: Friday, March 01, 2002 12:10 PM
To: Ant Users List
Subject: ejbjar with exception

Hi All,
  I got the warning massage I can not understand. I did set the
weblogicclasspath in the <weblogic> element.
  this is the build code:

      <weblogic destdir="${ejbholding.dir}"

  This is the result:

     [ejbjar] building EmailList_ejb.jar with 6 files
     [ejbc] Issued 1 semantic warning compiling
     [ejbc]    516.     } catch (java.lang.Exception e) {
     [ejbc]                      <------------------->
     [ejbc] *** Caution: This catch block may be unreachable because there
is no exception whose type is assignable to "java/lang/Exception" that can
thrown during execution of the body of the try block. However, this being
a base exception class, compilation will proceed.

Anyone has idea of it?
Any help is appraciated!

Ying Wang

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message