FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
jruby/samples/error.rb at parallel_boot · MSNexploder/jruby · GitHub
MSNexploder
/
jruby
Public
forked from
jruby/jruby
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
jruby
/
samples
/
error.rb
Copy path
More file actions
More file actions
Latest commit
History
History
History
10 lines (7 loc) · 215 Bytes
Breadcrumbs
jruby
/
samples
/
error.rb
Copy path
File metadata and controls
10 lines (7 loc) · 215 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
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"
)
Back
|
FazBrowse Home
|
New Git URL