Exception: IceGrid::ParseException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_id, #ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ ParseException

Returns a new instance of ParseException.



24
25
26
# File 'lib/IceGrid/FileParser.rb', line 24

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



32
33
34
# File 'lib/IceGrid/FileParser.rb', line 32

def reason
  @reason
end

Instance Method Details

#to_sObject



28
29
30
# File 'lib/IceGrid/FileParser.rb', line 28

def to_s
    '::IceGrid::ParseException'
end