Exception: Fastbeans::RPCException
- Inherits:
-
StandardError
- Object
- StandardError
- Fastbeans::RPCException
- Defined in:
- lib/fastbeans/errors.rb
Direct Known Subclasses
AutogeneratedException, RemoteCallFailed, RemoteConnectionDead, RemoteConnectionFailed, RemoteException
Instance Attribute Summary collapse
-
#orig_exc ⇒ Object
Returns the value of attribute orig_exc.
Instance Method Summary collapse
-
#initialize(msg, java_backtrace = nil) ⇒ RPCException
constructor
A new instance of RPCException.
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_exc ⇒ Object
Returns the value of attribute orig_exc.
4 5 6 |
# File 'lib/fastbeans/errors.rb', line 4 def orig_exc @orig_exc end |