source:
branches/objectmq-1.0/src/omq/ztest/calculator/ZeroEvent.java
Last change on this file was 33, checked in by amoreno, 11 years ago | |
---|---|
File size: 337 bytes |
Line | |
---|---|
1 | package omq.ztest.calculator; |
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.