class Roby::EventStructure::MissedDeadlineError
Exception
class used when an event has missed its deadline
Attributes
constraining_event[R]
The event from which we deduced the deadline
deadline[R]
The time before which the failed generator should have emitted
Public Class Methods
new(generator, constraining_event, deadline)
click to toggle source
Calls superclass method
Roby::LocalizedError::new
# File lib/roby/event_structure/temporal_constraints.rb, line 64 def initialize(generator, constraining_event, deadline) super(generator) @constraining_event = constraining_event @deadline = deadline end
Public Instance Methods
pretty_print(pp)
click to toggle source
# File lib/roby/event_structure/temporal_constraints.rb, line 70 def pretty_print(pp) pp.text "#{failed_generator} missed the deadline of #{deadline}" pp.breakable pp.text " required after the emission of #{constraining_event}" end