Exception: RubyAMF::Exceptions::RUBYAMFException
- Defined in:
- lib/revent/amf3/exception/rubyamf_exception.rb
Overview
Encompasses all rubyamf specific exceptions that occur
Class Attribute Summary collapse
-
.ACTIVE_RECORD_ERRORS ⇒ Object
Returns the value of attribute ACTIVE_RECORD_ERRORS.
-
.ADAPTER_ERROR ⇒ Object
Returns the value of attribute ADAPTER_ERROR.
-
.AMF_ERROR ⇒ Object
Returns the value of attribute AMF_ERROR.
-
.AUTHENTICATION_ERROR ⇒ Object
Returns the value of attribute AUTHENTICATION_ERROR.
-
.FILTER_CHAIN_HAULTED ⇒ Object
Returns the value of attribute FILTER_CHAIN_HAULTED.
-
.INTERNAL_ERROR ⇒ Object
Returns the value of attribute INTERNAL_ERROR.
-
.METHOD_ACCESS_ERROR ⇒ Object
Returns the value of attribute METHOD_ACCESS_ERROR.
-
.METHOD_UNDEFINED_METHOD_ERROR ⇒ Object
Returns the value of attribute METHOD_UNDEFINED_METHOD_ERROR.
-
.PARAMETER_MAPPING_ERROR ⇒ Object
Returns the value of attribute PARAMETER_MAPPING_ERROR.
-
.SERVICE_TRANSLATION_ERROR ⇒ Object
Returns the value of attribute SERVICE_TRANSLATION_ERROR.
-
.SESSION_ERROR ⇒ Object
Returns the value of attribute SESSION_ERROR.
-
.UNDEFINED_DEFINITION_REFERENCE_ERROR ⇒ Object
Returns the value of attribute UNDEFINED_DEFINITION_REFERENCE_ERROR.
-
.UNDEFINED_OBJECT_REFERENCE_ERROR ⇒ Object
Returns the value of attribute UNDEFINED_OBJECT_REFERENCE_ERROR.
-
.UNDEFINED_STRING_REFERENCE_ERROR ⇒ Object
Returns the value of attribute UNDEFINED_STRING_REFERENCE_ERROR.
-
.UNSUPPORTED_AMF0_TYPE ⇒ Object
Returns the value of attribute UNSUPPORTED_AMF0_TYPE.
-
.UNSUPPORTED_TYPE ⇒ Object
Returns the value of attribute UNSUPPORTED_TYPE.
-
.USER_ERROR ⇒ Object
Returns the value of attribute USER_ERROR.
-
.VERSION_ERROR ⇒ Object
Returns the value of attribute VERSION_ERROR.
-
.VO_ERROR ⇒ Object
Returns the value of attribute VO_ERROR.
Instance Attribute Summary collapse
-
#ebacktrace ⇒ Object
Returns the value of attribute ebacktrace.
-
#etype ⇒ Object
Returns the value of attribute etype.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(type, msg) ⇒ RUBYAMFException
constructor
A new instance of RUBYAMFException.
-
#to_s ⇒ Object
stringify the message.
Constructor Details
#initialize(type, msg) ⇒ RUBYAMFException
Returns a new instance of RUBYAMFException.
82 83 84 85 86 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 82 def initialize(type,msg) super(msg) @message = msg @etype = type end |
Class Attribute Details
.ACTIVE_RECORD_ERRORS ⇒ Object
Returns the value of attribute ACTIVE_RECORD_ERRORS.
76 77 78 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 76 def ACTIVE_RECORD_ERRORS @ACTIVE_RECORD_ERRORS end |
.ADAPTER_ERROR ⇒ Object
Returns the value of attribute ADAPTER_ERROR.
72 73 74 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 72 def ADAPTER_ERROR @ADAPTER_ERROR end |
.AMF_ERROR ⇒ Object
Returns the value of attribute AMF_ERROR.
78 79 80 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 78 def AMF_ERROR @AMF_ERROR end |
.AUTHENTICATION_ERROR ⇒ Object
Returns the value of attribute AUTHENTICATION_ERROR.
63 64 65 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 63 def AUTHENTICATION_ERROR @AUTHENTICATION_ERROR end |
.FILTER_CHAIN_HAULTED ⇒ Object
Returns the value of attribute FILTER_CHAIN_HAULTED.
75 76 77 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 75 def FILTER_CHAIN_HAULTED @FILTER_CHAIN_HAULTED end |
.INTERNAL_ERROR ⇒ Object
Returns the value of attribute INTERNAL_ERROR.
73 74 75 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 73 def INTERNAL_ERROR @INTERNAL_ERROR end |
.METHOD_ACCESS_ERROR ⇒ Object
Returns the value of attribute METHOD_ACCESS_ERROR.
64 65 66 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 64 def METHOD_ACCESS_ERROR @METHOD_ACCESS_ERROR end |
.METHOD_UNDEFINED_METHOD_ERROR ⇒ Object
Returns the value of attribute METHOD_UNDEFINED_METHOD_ERROR.
65 66 67 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 65 def METHOD_UNDEFINED_METHOD_ERROR @METHOD_UNDEFINED_METHOD_ERROR end |
.PARAMETER_MAPPING_ERROR ⇒ Object
Returns the value of attribute PARAMETER_MAPPING_ERROR.
79 80 81 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 79 def PARAMETER_MAPPING_ERROR @PARAMETER_MAPPING_ERROR end |
.SERVICE_TRANSLATION_ERROR ⇒ Object
Returns the value of attribute SERVICE_TRANSLATION_ERROR.
62 63 64 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 62 def SERVICE_TRANSLATION_ERROR @SERVICE_TRANSLATION_ERROR end |
.SESSION_ERROR ⇒ Object
Returns the value of attribute SESSION_ERROR.
66 67 68 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 66 def SESSION_ERROR @SESSION_ERROR end |
.UNDEFINED_DEFINITION_REFERENCE_ERROR ⇒ Object
Returns the value of attribute UNDEFINED_DEFINITION_REFERENCE_ERROR.
69 70 71 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 69 def UNDEFINED_DEFINITION_REFERENCE_ERROR @UNDEFINED_DEFINITION_REFERENCE_ERROR end |
.UNDEFINED_OBJECT_REFERENCE_ERROR ⇒ Object
Returns the value of attribute UNDEFINED_OBJECT_REFERENCE_ERROR.
68 69 70 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 68 def UNDEFINED_OBJECT_REFERENCE_ERROR @UNDEFINED_OBJECT_REFERENCE_ERROR end |
.UNDEFINED_STRING_REFERENCE_ERROR ⇒ Object
Returns the value of attribute UNDEFINED_STRING_REFERENCE_ERROR.
70 71 72 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 70 def UNDEFINED_STRING_REFERENCE_ERROR @UNDEFINED_STRING_REFERENCE_ERROR end |
.UNSUPPORTED_AMF0_TYPE ⇒ Object
Returns the value of attribute UNSUPPORTED_AMF0_TYPE.
74 75 76 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 74 def UNSUPPORTED_AMF0_TYPE @UNSUPPORTED_AMF0_TYPE end |
.UNSUPPORTED_TYPE ⇒ Object
Returns the value of attribute UNSUPPORTED_TYPE.
71 72 73 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 71 def UNSUPPORTED_TYPE @UNSUPPORTED_TYPE end |
.USER_ERROR ⇒ Object
Returns the value of attribute USER_ERROR.
67 68 69 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 67 def USER_ERROR @USER_ERROR end |
.VERSION_ERROR ⇒ Object
Returns the value of attribute VERSION_ERROR.
61 62 63 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 61 def VERSION_ERROR @VERSION_ERROR end |
.VO_ERROR ⇒ Object
Returns the value of attribute VO_ERROR.
77 78 79 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 77 def VO_ERROR @VO_ERROR end |
Instance Attribute Details
#ebacktrace ⇒ Object
Returns the value of attribute ebacktrace.
57 58 59 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 57 def ebacktrace @ebacktrace end |
#etype ⇒ Object
Returns the value of attribute etype.
56 57 58 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 56 def etype @etype end |
#message ⇒ Object
Returns the value of attribute message.
55 56 57 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 55 def @message end |
Instance Method Details
#to_s ⇒ Object
stringify the message
89 90 91 |
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 89 def to_s @msg end |