Hi,

I have my own SecurityException class, but XDoclet seems to override it with
the Sun one when creating a local interface.

In my bean I have the import of my own class as follows:
  import my.domain.SecurityException;

and my method can use it without needing to fully qualify it as follows:
  public Object myMethod() throws SecurityException {

Since I do not import the Sun one then this should work fine.....except that
in my Local interface I see the following generated:
  public Object myMethod() throws java.lang.SecurityException;

As a workaround I can fully qualify my class in the throws clause, but I
shouldn't need to really. 
Why does this happen, why does the wrong Security Exception class appear?

Thanks

Chris
-=-=-=

PS - its XDoclet 1.2.0 beta 1 



Any e-mail message from the European Central Bank (ECB) is sent in good faith but 
shall neither be binding nor construed as constituting a commitment by the ECB except 
where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any 
unauthorised disclosure, use or dissemination, either in whole or in part, is 
prohibited.
If you have received this e-mail in error, please notify the sender immediately via 
e-mail and delete this e-mail from your system.



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to