> 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?
If you have class name clash, you will be bombed
by compiler - and remember, java.lang is always
imported...
So in this case you got to use fully qualified name
always...
regards,
=====
Konstantin Priblouda ( ko5tik ) Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-------------------------------------------------------
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