Need to go through all the code and look for places where Java exceptions are raised and catch then, raising ruby exceptions in place.