Exception: Uttk::TimeoutAbortStatus

Inherits:
AbortStatus show all
Defined in:
lib/uttk/status.rb

Instance Attribute Summary collapse

Attributes inherited from Status

#reason, #weight

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Status

default_weight, hook_name, #hook_name, #pass?, #to_s, #to_uttk_log

Methods inherited from Exception

#to_uttk_log

Constructor Details

#initialize(*a, &b) ⇒ TimeoutAbortStatus

Returns a new instance of TimeoutAbortStatus.



101
102
103
104
# File 'lib/uttk/status.rb', line 101

def initialize ( *a, &b )
  @timeout_id = (@@timeout_id += 1)
  super
end

Instance Attribute Details

#timeout_idObject (readonly)

Returns the value of attribute timeout_id.



97
98
99
# File 'lib/uttk/status.rb', line 97

def timeout_id
  @timeout_id
end

Class Method Details

.status_nameObject



110
111
112
# File 'lib/uttk/status.rb', line 110

def self.status_name
  :ABORT
end

Instance Method Details

#==(rhs) ⇒ Object



106
107
108
# File 'lib/uttk/status.rb', line 106

def == ( rhs )
  rhs.class <= self.class and @timeout_id == rhs.timeout_id
end