Exception: Fastbeans::RPCException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fastbeans/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, java_backtrace = nil) ⇒ RPCException



6
7
8
9
10
11
12
13
# File 'lib/fastbeans/errors.rb', line 6

def initialize(msg, java_backtrace=nil)
  super(msg)
  @java_backtrace_arr = if java_backtrace.is_a?(String)
    java_backtrace.split(/\n/).map(&:strip)
  else
    []
  end
end

Instance Attribute Details

#orig_excObject

Returns the value of attribute orig_exc.



4
5
6
# File 'lib/fastbeans/errors.rb', line 4

def orig_exc
  @orig_exc
end