 |
Forums |
Admin Discussion Forums: help Start New Thread
By: Alexey Kotlyarov
Java exceptions and getCause() [ reply ] 2010-07-22 05:50
|
I get "Undefined method getCause on #<TheJavaExceptionICaught:address>" when trying to see it:
begin
java_object.call_method_raising_exception
rescue => e
puts e.getCause
end
Do Java exceptions thrown get converted to Ruby ones? How do I get the exception cause here?
|
|
 |