• Post Reply Bookmark Topic Watch Topic
  • New Topic

use the try catch block to handle the exception.  RSS feed

 
sujith lakmal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
systems software solution in corp. needs to store details, such as name, age and ID of 3 employees of the compnay. while storing the details f the employees the
record of an employee was entered twice and hence the record of the third employees could not be displayed. identify the exception that is reced if the details
of all the employees were stored. use the try catch block to handle the exception.
**hint : to solve the problem, identify the type of error and the code segment in which the error occured.
identify the mechanism of tracking the exception.
write code of handling the exception.

* Array index out of bound exception.
 
Manuel Petermann
Ranch Hand
Posts: 177
Hibernate Linux Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly do you want?
 
dennis deems
Ranch Hand
Posts: 808
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the ranch, sujith lakmal. There are lots of nice folks here who like to help out, but you've got to give them something to work with.

HowToAskQuestionsOnJavaRanch
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!