Exception: SOAP::FaultError
Instance Attribute Summary (collapse)
-
- (Object) detail
Returns the value of attribute detail.
-
- (Object) faultactor
readonly
Returns the value of attribute faultactor.
-
- (Object) faultcode
readonly
Returns the value of attribute faultcode.
-
- (Object) faultstring
readonly
Returns the value of attribute faultstring.
Attributes included from NestedException
Instance Method Summary (collapse)
-
- (FaultError) initialize(fault)
constructor
A new instance of FaultError.
- - (Object) to_s
Methods included from NestedException
Constructor Details
- (FaultError) initialize(fault)
A new instance of FaultError
100 101 102 103 104 105 106 |
# File 'lib/soap/soap.rb', line 100 def initialize(fault) @faultcode = fault.faultcode @faultstring = fault.faultstring @faultactor = fault.faultactor @detail = fault.detail super(self.to_s) end |
Instance Attribute Details
- (Object) detail
Returns the value of attribute detail
98 99 100 |
# File 'lib/soap/soap.rb', line 98 def detail @detail end |
- (Object) faultactor (readonly)
Returns the value of attribute faultactor
97 98 99 |
# File 'lib/soap/soap.rb', line 97 def faultactor @faultactor end |
- (Object) faultcode (readonly)
Returns the value of attribute faultcode
95 96 97 |
# File 'lib/soap/soap.rb', line 95 def faultcode @faultcode end |
- (Object) faultstring (readonly)
Returns the value of attribute faultstring
96 97 98 |
# File 'lib/soap/soap.rb', line 96 def faultstring @faultstring end |
Instance Method Details
- (Object) to_s
108 109 110 111 112 113 114 |
# File 'lib/soap/soap.rb', line 108 def to_s str = nil if @faultstring and @faultstring.respond_to?('data') str = @faultstring.data end str || '(No faultstring)' end |