class Nashorn::Ruby::Exception

@private

Attributes

thrown[R]

Public Class Methods

new(error) click to toggle source
Calls superclass method
# File lib/nashorn/ruby.rb, line 364
def initialize(error)
  super error.message, error.is_a?(Java::JavaLang::Throwable) ? error : nil
  @thrown = error
end

Public Instance Methods

getThrown() click to toggle source
# File lib/nashorn/ruby.rb, line 369
def getThrown; @thrown end