Throw Java exceptions corresponding to IDL exceptions in @raises.