Last change
on this file since 126 was 1, checked in by Wouter Pasman, 6 years ago |
Initial import : Genius 9.0.0
|
File size:
394 bytes
|
Rev | Line | |
---|
[1] | 1 | package agents.nastyagent;
|
---|
| 2 |
|
---|
| 3 | import java.util.HashMap;
|
---|
| 4 |
|
---|
| 5 | import genius.core.Bid;
|
---|
| 6 |
|
---|
| 7 | /**
|
---|
| 8 | * throws when negotiationEnded is called.
|
---|
| 9 | *
|
---|
| 10 | */
|
---|
| 11 | public class ThrowInNegoEnd extends NastyAgent {
|
---|
| 12 | @Override
|
---|
| 13 | public HashMap<String, String> negotiationEnded(Bid acceptedBid) {
|
---|
| 14 | // we actually got here. Report it.
|
---|
| 15 | super.negotiationEnded(acceptedBid);
|
---|
| 16 | throw new RuntimeException("end with throw !");
|
---|
| 17 | }
|
---|
| 18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.