• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handling of fatal database exceptions

 
Liviu Carausu
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How are you handling the fatal database exceptions, for example if, when reading from the raf, an IOException other that EOFExceptions happens ? Server shutdown ? The client must also be informed that something bad happened at the server side.. First throw the Exception to reach the client layer, then shutdown server? Or simply leave the Exception to propagate to
the client and do nothing , waiting for the IO problem to go away ?
Any ideas, comments ?
Thanks,
Liviu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic