Exception: Ice::AlreadyRegisteredException
- Inherits:
-
LocalException
- Object
- StandardError
- Exception
- LocalException
- Ice::AlreadyRegisteredException
- Defined in:
- lib/Ice/LocalException.rb
Constant Summary collapse
- ICE_TYPE =
T_AlreadyRegisteredException
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#kindOfObject ⇒ Object
Returns the value of attribute kindOfObject.
Instance Method Summary collapse
-
#initialize(kindOfObject = '', id = '') ⇒ AlreadyRegisteredException
constructor
A new instance of AlreadyRegisteredException.
- #to_s ⇒ Object
Methods inherited from Exception
Constructor Details
#initialize(kindOfObject = '', id = '') ⇒ AlreadyRegisteredException
Returns a new instance of AlreadyRegisteredException.
79 80 81 82 |
# File 'lib/Ice/LocalException.rb', line 79 def initialize(kindOfObject='', id='') @kindOfObject = kindOfObject @id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
88 89 90 |
# File 'lib/Ice/LocalException.rb', line 88 def id @id end |
#kindOfObject ⇒ Object
Returns the value of attribute kindOfObject.
88 89 90 |
# File 'lib/Ice/LocalException.rb', line 88 def kindOfObject @kindOfObject end |
Instance Method Details
#to_s ⇒ Object
84 85 86 |
# File 'lib/Ice/LocalException.rb', line 84 def to_s 'Ice::AlreadyRegisteredException' end |