| Class | OpenWFE::PausedError |
| In: |
lib/openwfe/expool/expressionpool.rb
|
| Parent: | RuntimeError |
This error is raised when an expression belonging to a paused process is applied or replied to.
| wfid | [R] |
# File lib/openwfe/expool/expressionpool.rb, line 1065
1065: def initialize (wfid)
1066:
1067: super "process '#{wfid}' is paused"
1068: @wfid = wfid
1069: end
Returns true if the other is a PausedError issued for the same process instance (wfid).
# File lib/openwfe/expool/expressionpool.rb, line 1084
1084: def == (other)
1085:
1086: return false unless other.is_a?(PausedError)
1087:
1088: (@wfid == other.wfid)
1089: end
Returns a hash for this PausedError instance. (simply returns the hash of the paused process’ wfid).
# File lib/openwfe/expool/expressionpool.rb, line 1075
1075: def hash
1076:
1077: @wfid.hash
1078: end