Exception: RHC::SSHConnectionRefused

Inherits:
ConnectionFailed show all
Defined in:
lib/rhc/exceptions.rb

Instance Attribute Summary

Attributes inherited from Exception

#code

Instance Method Summary collapse

Constructor Details

#initialize(host, user) ⇒ SSHConnectionRefused

Returns a new instance of SSHConnectionRefused.



187
188
189
# File 'lib/rhc/exceptions.rb', line 187

def initialize(host, user)
  super "The server #{host} refused a connection with user #{user}.  The application may be unavailable.", 1
end