Exception: OpenShift::OOException
- Inherits:
-
StandardError
- Object
- StandardError
- OpenShift::OOException
- Defined in:
- lib/openshift-origin-common/exceptions/oo_exception.rb
Direct Known Subclasses
AuthServiceException, DNSException, EstimatesException, NodeException, UserException, UserKeyException, UserValidationException
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#resultIO ⇒ Object
Returns the value of attribute resultIO.
Instance Method Summary collapse
-
#initialize(msg = nil, code = nil, resultIO = nil) ⇒ OOException
constructor
A new instance of OOException.
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
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 3 def code @code end |
#resultIO ⇒ Object
Returns the value of attribute resultIO.
3 4 5 |
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 3 def resultIO @resultIO end |