Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Jason Perry   on Mar 09 In Java Category.

  
Question Answered By: Jonathan Brown   on Mar 09

In Java and particularly RMI, I interpret tolerance
to mean that an error can be detected and your code
deals with it in some that allows the code to keep
running (maybe retry or offer a dialog to the user to
submit different values, etc).<br><br>This means that
you code try/catch blocks all over your code and you
handle all of the possible exceptions and errors that
can be thrown. You don't ever let the program just
quit without the user instructing it to do
so.<br><br>RMI requires that you catch RMIExceptions. What you
do with these is what determines if your code is
fault tolerant, or not.

Share: