Exception: Stomp::Error::StartTimeoutException

Inherits:
StompException
  • Object
show all
Defined in:
lib/stomp/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(timeout) ⇒ StartTimeoutException

Returns a new instance of StartTimeoutException


309
310
311
# File 'lib/stomp/errors.rb', line 309

def initialize(timeout)
  @timeout = timeout
end

Instance Method Details

#messageObject


313
314
315
# File 'lib/stomp/errors.rb', line 313

def message
  "Client failed to start in #{@timeout} seconds"
end