Exception: SoftLayer::Exception
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- SoftLayer::Exception
- Defined in:
- lib/softlayer/util.rb
Overview
An Exception proxy class Not every exception soap4r returns decends from RuntimeError.
Instance Method Summary collapse
-
#initialize(args) ⇒ Exception
constructor
A new instance of Exception.
Constructor Details
#initialize(args) ⇒ Exception
Returns a new instance of Exception.
79 80 81 82 83 84 85 86 87 |
# File 'lib/softlayer/util.rb', line 79 def initialize(args) e = args[:exception] = args[:message] unless args[:message].nil? = e. unless e.nil? super() @realException = e unless e.nil? @realException = self if @realException.nil? end |