on 04-17-2008 12:31 PM
Hi,
I am using the Class RetrieveLimitedRecords, to retrieve he records from the main table.
While using this class I am getting an error Null Pointer Exception, when there are no records matching the search criteriea.
Could anybody tell me how to ignore this error.
Thanks,
Priya.
The issue is solved.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priya
put the statement which throws the exception in try catch and raise your own exception if you want in catch for no records found
Thanks
Ninad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.