Exception: SakaiInfo::UnrecognizedPropertyEncodingException
- Inherits:
-
SakaiException
- Object
- Exception
- SakaiException
- SakaiInfo::UnrecognizedPropertyEncodingException
- Defined in:
- lib/sakai-info/sakai_xml_entity.rb
Overview
exception class for unrecognized property encodings
Instance Attribute Summary collapse
-
#encoding ⇒ Object
readonly
Returns the value of attribute encoding.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, encoding, value) ⇒ UnrecognizedPropertyEncodingException
constructor
A new instance of UnrecognizedPropertyEncodingException.
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
#encoding ⇒ Object (readonly)
Returns the value of attribute encoding.
15 16 17 |
# File 'lib/sakai-info/sakai_xml_entity.rb', line 15 def encoding @encoding end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
15 16 17 |
# File 'lib/sakai-info/sakai_xml_entity.rb', line 15 def name @name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
15 16 17 |
# File 'lib/sakai-info/sakai_xml_entity.rb', line 15 def value @value end |