• 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
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 ?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!