Exception: IceGrid::ParseException

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

Constant Summary collapse

ICE_TYPE =
T_ParseException

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ice::Exception

#ice_name, #inspect

Constructor Details

#initialize(reason = '') ⇒ ParseException

Returns a new instance of ParseException.



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

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

Instance Attribute Details

#reasonObject

Returns the value of attribute reason.



37
38
39
# File 'lib/IceGrid/FileParser.rb', line 37

def reason
  @reason
end

Instance Method Details

#to_sObject



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

def to_s
    'IceGrid::ParseException'
end