Last change
on this file since 80 was
44,
checked in by stoda, 11 years ago
|
Objectmq converted to maven project
|
File size:
583 bytes
|
Line | |
---|
1 | package omq.exception; |
---|
2 | |
---|
3 | import java.io.Serializable; |
---|
4 | |
---|
5 | public class OmqException implements Serializable { |
---|
6 | /** |
---|
7 | * |
---|
8 | */ |
---|
9 | private static final long serialVersionUID = 1L; |
---|
10 | |
---|
11 | private String type; |
---|
12 | private String message; |
---|
13 | |
---|
14 | public OmqException() { |
---|
15 | } |
---|
16 | |
---|
17 | public OmqException(String type, String message) { |
---|
18 | this.type = type; |
---|
19 | this.message = message; |
---|
20 | } |
---|
21 | |
---|
22 | public String getType() { |
---|
23 | return type; |
---|
24 | } |
---|
25 | |
---|
26 | public void setType(String type) { |
---|
27 | this.type = type; |
---|
28 | } |
---|
29 | |
---|
30 | public String getMessage() { |
---|
31 | return message; |
---|
32 | } |
---|
33 | |
---|
34 | public void setMessage(String message) { |
---|
35 | this.message = message; |
---|
36 | } |
---|
37 | |
---|
38 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.