source:
branches/objectmq_old/test/calculatorTest/ZeroEvent.java
Last change on this file was 34, checked in by stoda, 11 years ago | |
---|---|
File size: 331 bytes |
Line | |
---|---|
1 | package calculatorTest; |
2 | |
3 | import omq.common.event.Event; |
4 | |
5 | public class ZeroEvent extends Event { |
6 | /** |
7 | * |
8 | */ |
9 | private static final long serialVersionUID = 1L; |
10 | |
11 | public ZeroEvent() { |
12 | } |
13 | |
14 | public ZeroEvent(String corrId, String topic) { |
15 | super(corrId, topic); |
16 | } |
17 | |
18 | public String getZeroMessage() { |
19 | return "divition by 0"; |
20 | } |
21 | |
22 | } |
Note: See TracBrowser
for help on using the repository browser.