Last change
on this file was 1, checked in by Wouter Pasman, 7 years ago |
Initial import : Genius 9.0.0
|
File size:
443 bytes
|
Line | |
---|
1 | package genius.core.session;
|
---|
2 |
|
---|
3 | import genius.core.AgentID;
|
---|
4 |
|
---|
5 | @SuppressWarnings("serial")
|
---|
6 | public class InvalidActionContentsError extends ActionException {
|
---|
7 | private AgentID agent;
|
---|
8 | private String message;
|
---|
9 |
|
---|
10 | public InvalidActionContentsError(AgentID agent, String message) {
|
---|
11 | this.agent = agent;
|
---|
12 | this.message = message;
|
---|
13 | }
|
---|
14 |
|
---|
15 | public String toString() {
|
---|
16 | return "Agent " + agent + " created an action with invalid content: "
|
---|
17 | + message;
|
---|
18 | }
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.