Exception: Ice::SecurityException

Inherits:
LocalException show all
Defined in:
lib/Ice/LocalException.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Exception

#ice_id, #ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ SecurityException

Returns a new instance of SecurityException.



992
993
994
# File 'lib/Ice/LocalException.rb', line 992

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



1000
1001
1002
# File 'lib/Ice/LocalException.rb', line 1000

def reason
  @reason
end

Instance Method Details

#to_sObject



996
997
998
# File 'lib/Ice/LocalException.rb', line 996

def to_s
    '::Ice::SecurityException'
end