Exception: OpenShift::OOException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil, code = nil, resultIO = nil) ⇒ OOException

Returns a new instance of OOException.



5
6
7
8
9
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 5

def initialize(msg=nil, code=nil, resultIO=nil)
  super(msg)
  @code = code
  @resultIO = resultIO
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 3

def code
  @code
end

#resultIOObject

Returns the value of attribute resultIO.



3
4
5
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 3

def resultIO
  @resultIO
end