Exception: Uttk::TimeoutAbortStatus
- Inherits:
-
AbortStatus
- Object
- Exception
- UttkException
- Status
- AbortStatus
- Uttk::TimeoutAbortStatus
- Defined in:
- lib/uttk/status.rb
Instance Attribute Summary collapse
-
#timeout_id ⇒ Object
readonly
Returns the value of attribute timeout_id.
Attributes inherited from Status
Class Method Summary collapse
Instance Method Summary collapse
- #==(rhs) ⇒ Object
-
#initialize(*a, &b) ⇒ TimeoutAbortStatus
constructor
A new instance of TimeoutAbortStatus.
Methods inherited from Status
default_weight, hook_name, #hook_name, #pass?, #to_s, #to_uttk_log
Methods inherited from Exception
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_id ⇒ Object (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_name ⇒ Object
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 |