-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
I don't know if this is expected behavior, but I was surprised that Java::JavaLang::Throwable does not implement full_message:
irb(main):011:0> JRUBY_VERSION
=> "9.2.8.0"
irb(main):012:0> Java::JavaLang::Throwable.new('ugh').full_message
Traceback (most recent call last):
6: from /Users/dharsha/.rbenv/versions/jruby-9.2.8.0/bin/irb:13:in `<main>'
5: from org/jruby/RubyKernel.java:1193:in `catch'
4: from org/jruby/RubyKernel.java:1193:in `catch'
3: from org/jruby/RubyKernel.java:1425:in `loop'
2: from org/jruby/RubyKernel.java:1061:in `eval'
1: from (irb):12:in `evaluate'
NoMethodError (undefined method `full_message' for java.lang.Throwable: ugh:Java::JavaLang::Throwable)
Did you mean? message
irb(main):013:0> StandardError.new('ugh').full_message
=> "(irb):12: ugh (StandardError)\n"
Reactions are currently unavailable