Parent

Methods

Class/Module Index [+]

Quicksearch

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

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

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.