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.

Methods

==   hash   new  

Attributes

wfid  [R] 

Public Class methods

[Source]

      # File lib/openwfe/expool/expressionpool.rb, line 1065
1065:         def initialize (wfid)
1066: 
1067:             super "process '#{wfid}' is paused"
1068:             @wfid = wfid
1069:         end

Public Instance methods

Returns true if the other is a PausedError issued for the same process instance (wfid).

[Source]

      # 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).

[Source]

      # File lib/openwfe/expool/expressionpool.rb, line 1075
1075:         def hash
1076: 
1077:             @wfid.hash
1078:         end

[Validate]