Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RecordNotFoundException  RSS feed

 
mohini lalwani
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when read method will throw RecordNotFoundException
???

public String [] read(int recNo) throws RecordNotFoundException;
 
mohamed sulibi
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi;

sure when the record was not found in the underlaying database.




regards.
 
Jeffry Kristianto Yanuar
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by mohamed sulibi:

sure when the record was not found in the underlaying database.



The record was not found either because the record number is invalid (minus number) or the record number is out of range, or the record is marked for deleted record.

Good Luck


Jeffry Kristianto Yanuar (Java Instructor)
SCJP 5.0, SCJA, SCJD (UrlyBird 1.3.2)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!