Exception: SoftLayer::Exception
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- SoftLayer::Exception
- Defined in:
- lib/softlayer.rb
Overview
An Exception proxy class This doesn’t do anything yet, but it probably will at some point.
Instance Method Summary collapse
-
#initialize(args) ⇒ Exception
constructor
A new instance of Exception.
Constructor Details
#initialize(args) ⇒ Exception
Returns a new instance of Exception.
166 167 168 169 170 171 172 173 174 |
# File 'lib/softlayer.rb', line 166 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 |