Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (7 sloc) 0.215 kb
require 'java'
Java::define_exception_handler "java.lang.NumberFormatException" do |e|
puts e.java_type
p e.methods
puts e.java_class.java_method(:getMessage).invoke(e)
end
java.lang.Long.parseLong("23aa")
Jump to Line
Something went wrong with that request. Please try again.