Exception: Operaton::Bpm::Client::Impl::EngineClientException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/operaton/bpm/client/impl/engine_client_exception.rb

Overview

Mirrors org.operaton.bpm.client.impl.EngineClientException — the internal exception wrapping transport/REST failures before they are translated into the public exception hierarchy.

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, cause = nil) ⇒ EngineClientException

Returns a new instance of EngineClientException.



13
14
15
16
# File 'lib/operaton/bpm/client/impl/engine_client_exception.rb', line 13

def initialize(message = nil, cause = nil)
  super(message)
  @wrapped_cause = cause
end

Instance Method Details

#causeObject



18
19
20
# File 'lib/operaton/bpm/client/impl/engine_client_exception.rb', line 18

def cause
  @wrapped_cause || super
end