1 | |
package ca.uhn.hl7v2.hoh.api; |
2 | |
|
3 | |
public class NonHl7ResponseException extends DecodeException { |
4 | |
|
5 | |
private String myContentType; |
6 | |
private String myResponseBody; |
7 | |
|
8 | |
public NonHl7ResponseException(String theMessage, String theContentType, String theResponseBody) { |
9 | 0 | super(theMessage); |
10 | 0 | myContentType = theContentType; |
11 | 0 | myResponseBody = theResponseBody; |
12 | 0 | } |
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
public String getContentType() { |
18 | 0 | return myContentType; |
19 | |
} |
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
public String getResponseBody() { |
25 | 0 | return myResponseBody; |
26 | |
} |
27 | |
|
28 | |
private static final long serialVersionUID = 1L; |
29 | |
|
30 | |
} |