Exception: SakaiInfo::UnrecognizedPropertyEncodingException

Inherits:
SakaiException
  • Object
show all
Defined in:
lib/sakai-info/sakai_xml_entity.rb

Overview

exception class for unrecognized property encodings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, encoding, value) ⇒ UnrecognizedPropertyEncodingException

Returns a new instance of UnrecognizedPropertyEncodingException.



17
18
19
20
21
22
23
# File 'lib/sakai-info/sakai_xml_entity.rb', line 17

def initialize(name, encoding, value)
  @name = name
  @encoding = encoding
  @value = value

  super("Unrecognized property encoding '#{@encoding}' for property '#{@name}'")
end

Instance Attribute Details

#encodingObject (readonly)

Returns the value of attribute encoding.



15
16
17
# File 'lib/sakai-info/sakai_xml_entity.rb', line 15

def encoding
  @encoding
end

#nameObject (readonly)

Returns the value of attribute name.



15
16
17
# File 'lib/sakai-info/sakai_xml_entity.rb', line 15

def name
  @name
end

#valueObject (readonly)

Returns the value of attribute value.



15
16
17
# File 'lib/sakai-info/sakai_xml_entity.rb', line 15

def value
  @value
end