source:
src/test/java/agents/nastyagent/ThrowInReceiveMessage.java@
1
Last change on this file since 1 was 1, checked in by , 6 years ago | |
---|---|
File size: 266 bytes |
Line | |
---|---|
1 | package agents.nastyagent; |
2 | |
3 | import genius.core.AgentID; |
4 | import genius.core.actions.Action; |
5 | |
6 | public class ThrowInReceiveMessage extends NastyAgent { |
7 | |
8 | @Override |
9 | public void receiveMessage(AgentID sender, Action arguments) { |
10 | throw new RuntimeException("bla"); |
11 | } |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.