Exception: IceGrid::ServerStopException

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

Constant Summary collapse

ICE_TYPE =
T_ServerStopException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_name, #inspect

Constructor Details

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

Returns a new instance of ServerStopException.



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

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

Instance Attribute Details

#idObject

Returns the value of attribute id.



94
95
96
# File 'lib/IceGrid/Exception.rb', line 94

def id
  @id
end

#reasonObject

Returns the value of attribute reason.



94
95
96
# File 'lib/IceGrid/Exception.rb', line 94

def reason
  @reason
end

Instance Method Details

#to_sObject



90
91
92
# File 'lib/IceGrid/Exception.rb', line 90

def to_s
    'IceGrid::ServerStopException'
end