class OpenShift::Runtime::Utils::TimeoutExceeded

Exception used to signal command overran it's timeout in seconds

Attributes

seconds[R]

Public Class Methods

new(seconds) click to toggle source

seconds - integer of maximum seconds to wait on command

Calls superclass method
# File lib/openshift-origin-node/utils/shell_exec.rb, line 44
def initialize(seconds)
  super 'Timeout exceeded'
  @seconds = seconds
end

Public Instance Methods

to_s() click to toggle source
Calls superclass method
# File lib/openshift-origin-node/utils/shell_exec.rb, line 49
def to_s
  super + " duration of #@seconds seconds"
end