source: src/test/java/agents/nastyagent/ThrowInNegoEnd.java@ 1

Last change on this file since 1 was 1, checked in by Wouter Pasman, 6 years ago

Initial import : Genius 9.0.0

File size: 394 bytes
Line 
1package agents.nastyagent;
2
3import java.util.HashMap;
4
5import genius.core.Bid;
6
7/**
8 * throws when negotiationEnded is called.
9 *
10 */
11public 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.