View Javadoc

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   		super(theMessage);
10  		myContentType = theContentType;
11  		myResponseBody = theResponseBody;
12  	}
13  
14  	/**
15  	 * @return the contentType
16  	 */
17  	public String getContentType() {
18  		return myContentType;
19  	}
20  
21  	/**
22  	 * @return the responseBody
23  	 */
24  	public String getResponseBody() {
25  		return myResponseBody;
26  	}
27  
28  	private static final long serialVersionUID = 1L;
29  
30  }