Exception: RubyAMF::Exceptions::RUBYAMFException

Inherits:
Exception
  • Object
show all
Defined in:
lib/revent/amf3/exception/rubyamf_exception.rb

Overview

Encompasses all rubyamf specific exceptions that occur

Class Attribute Summary collapse

Instance Attribute Summary collapse

Instance Method Summary collapse

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_ERRORSObject

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_ERRORObject

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_ERRORObject

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_ERRORObject

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_HAULTEDObject

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_ERRORObject

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_ERRORObject

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_ERRORObject

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_ERRORObject

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_ERRORObject

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_ERRORObject

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_ERRORObject

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_ERRORObject

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_ERRORObject

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_TYPEObject

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_TYPEObject

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_ERRORObject

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_ERRORObject

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_ERRORObject

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

#ebacktraceObject

Returns the value of attribute ebacktrace.



57
58
59
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 57

def ebacktrace
  @ebacktrace
end

#etypeObject

Returns the value of attribute etype.



56
57
58
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 56

def etype
  @etype
end

#messageObject

Returns the value of attribute message.



55
56
57
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 55

def message
  @message
end

Instance Method Details

#to_sObject

stringify the message



89
90
91
# File 'lib/revent/amf3/exception/rubyamf_exception.rb', line 89

def to_s
  @msg
end