Exception: OpenShift::GearsException

Inherits:
Exception
  • Object
show all
Defined in:
lib/openshift-origin-common/exceptions/oo_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(successful = nil, failed = nil, exception = nil) ⇒ GearsException

Returns a new instance of GearsException.



24
25
26
27
28
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 24

def initialize(successful=nil, failed=nil, exception=nil)
  @successful = successful
  @failed = failed
  @exception = exception
end

Instance Attribute Details

#exceptionObject

Returns the value of attribute exception.



22
23
24
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 22

def exception
  @exception
end

#failedObject

Returns the value of attribute failed.



22
23
24
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 22

def failed
  @failed
end

#successfulObject

Returns the value of attribute successful.



22
23
24
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 22

def successful
  @successful
end