I would be familiar with the common runtime exceptions including:
NullPointerException
ArrayIndexOutOfBoundsException
NumberFormatException
ArithmeticException
You also should understand the exceptions that can be thrown in thread-related scenarios -- both the checked exception (InterruptedException) and the runtime exceptions associated with locks. Like, what happens when you issue a wait() call when you do not own the object (on whom you are calling wait()) lock? Is this a compiler error or a runtime exception
Cheers,
Kathy
throws InsufficientChocolateException