Exception: IceGrid::ServerStopException

Inherits:
Ice::UserException show all
Defined in:
lib/IceGrid/Exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_id, #ice_name, #inspect

Constructor Details

#initialize(id = '', reason = '') ⇒ ServerStopException

Returns a new instance of ServerStopException.



77
78
79
80
# File 'lib/IceGrid/Exception.rb', line 77

def initialize(id='', reason='')
    @id = id
    @reason = reason
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



86
87
88
# File 'lib/IceGrid/Exception.rb', line 86

def id
  @id
end

#reasonObject

Returns the value of attribute reason.



86
87
88
# File 'lib/IceGrid/Exception.rb', line 86

def reason
  @reason
end

Instance Method Details

#to_sObject



82
83
84
# File 'lib/IceGrid/Exception.rb', line 82

def to_s
    '::IceGrid::ServerStopException'
end