User Tools

Site Tools


tracing:ex3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tracing:ex3 [2008/10/06 17:41] bdefraintracing:ex3 [2021/02/05 13:55] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +[[tracing:intro|Intro]]
 +[[tracing:ex1|Ex1]]
 +[[tracing:ex2|Ex2]]
 +[[tracing:ex3|Ex3]]
 ====== Context: Points in groups ====== ====== Context: Points in groups ======
  
Line 20: Line 24:
  
 Add similar advice to ensure that a ''Point'' is never added to more than one ''Group''. If this invariant is violated, the advice should throw an ''IllegalStateException'' that uses the string representation of the first group as its message. Add similar advice to ensure that a ''Point'' is never added to more than one ''Group''. If this invariant is violated, the advice should throw an ''IllegalStateException'' that uses the string representation of the first group as its message.
 +
 +Take a look a the implementation of the test case to see what is precisely expected.
  
 <note tip> <note tip>
tracing/ex3.1223307694.txt.gz · Last modified: 2008/10/06 17:41 by bdefrain