This content has been marked as final.
Show 2 replies
-
1. Re: Weired problem, exception should be thrown
hubaghdadi Sep 30, 2004 1:09 PM (in response to hubaghdadi)let me ask you a qestion.
when we get a FinderException ?
I provided a value that does not exit in a database, so findByCityName( ) should throw an excpetion, but it don't.
in which situations we get FinderException ??
thanks. -
2. Re: Weired problem, exception should be thrown
darranl Sep 30, 2004 1:54 PM (in response to hubaghdadi)You are seeing the correct behaviour, having no data returned from a query is a valid response.
If the return type of your finder methods were to return the remote / local interface instead I think that you would then see the Exception.