Exception: VCDOM::MiniDOM::DOMException
- Inherits:
-
MiniDOMStandardError
- Object
- StandardError
- MiniDOMStandardError
- VCDOM::MiniDOM::DOMException
- Defined in:
- lib/vcdom/minidom/dom_exception.rb
Constant Summary collapse
- INDEX_SIZE_ERR =
include Const::DOMException ExceptionCode
1- DOMSTRING_SIZE_ERR =
2- HIERARCHY_REQUEST_ERR =
3- WRONG_DOCUMENT_ERR =
4- INVALID_CHARACTER_ERR =
5- NO_DATA_ALLOWED_ERR =
6- NO_MODIFICATION_ALLOWED_ERR =
7- NOT_FOUND_ERR =
8- NOT_SUPPORTED_ERR =
9- INUSE_ATTRIBUTE_ERR =
10- INVALID_STATE_ERR =
11- SYNTAX_ERR =
12- INVALID_MODIFICATION_ERR =
13- NAMESPACE_ERR =
14- INVALID_ACCESS_ERR =
15- VALIDATION_ERR =
16- TYPE_MISMATCH_ERR =
17
Instance Method Summary collapse
-
#code ⇒ Object
インスタンス変数 =====.
-
#initialize(err_code, err_message = '') ⇒ DOMException
constructor
コンストラクタ =====.
Constructor Details
#initialize(err_code, err_message = '') ⇒ DOMException
コンストラクタ =====
36 37 38 39 40 41 42 43 |
# File 'lib/vcdom/minidom/dom_exception.rb', line 36 def initialize( err_code, = '' ) if err_code.is_a? DOMException then = err_code. err_code = err_code.code end super( ) @code = err_code end |
Instance Method Details
#code ⇒ Object
インスタンス変数 =====
32 |
# File 'lib/vcdom/minidom/dom_exception.rb', line 32 def code; return @code end |