Exception: OpenShift::Utils::ShellExecutionException
- Inherits:
-
Exception
- Object
- Exception
- OpenShift::Utils::ShellExecutionException
- Defined in:
- lib/openshift-origin-node/utils/shell_exec.rb
Instance Attribute Summary collapse
-
#rc ⇒ Object
Returns the value of attribute rc.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(msg, rc = -1,, stdout = nil, stderr = nil) ⇒ ShellExecutionException
constructor
A new instance of ShellExecutionException.
Constructor Details
#initialize(msg, rc = -1,, stdout = nil, stderr = nil) ⇒ ShellExecutionException
Returns a new instance of ShellExecutionException.
24 25 26 27 28 29 |
# File 'lib/openshift-origin-node/utils/shell_exec.rb', line 24 def initialize(msg, rc=-1, stdout = nil, stderr = nil) super msg self.rc = rc self.stdout = stdout self.stderr = stderr end |
Instance Attribute Details
#rc ⇒ Object
Returns the value of attribute rc.
23 24 25 |
# File 'lib/openshift-origin-node/utils/shell_exec.rb', line 23 def rc @rc end |
#stderr ⇒ Object
Returns the value of attribute stderr.
23 24 25 |
# File 'lib/openshift-origin-node/utils/shell_exec.rb', line 23 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout.
23 24 25 |
# File 'lib/openshift-origin-node/utils/shell_exec.rb', line 23 def stdout @stdout end |