| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| TransportException |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Created on 15-Apr-2004 | |
| 3 | */ | |
| 4 | package ca.uhn.hl7v2.protocol; | |
| 5 | ||
| 6 | import ca.uhn.hl7v2.HL7Exception; | |
| 7 | ||
| 8 | /** | |
| 9 | * Represents a problem that has occured during transport of a | |
| 10 | * message string to / from some other server. | |
| 11 | * | |
| 12 | * @author <a href="mailto:bryan.tripp@uhn.on.ca">Bryan Tripp</a> | |
| 13 | * @version $Revision: 1.1 $ updated on $Date: 2007-02-19 02:24:38 $ by $Author: jamesagnew $ | |
| 14 | */ | |
| 15 | public class TransportException extends HL7Exception { | |
| 16 | ||
| 17 | /** | |
| 18 | * @param message | |
| 19 | * @param cause | |
| 20 | */ | |
| 21 | public TransportException(String message, Throwable cause) { | |
| 22 | 0 | super(message, cause); |
| 23 | 0 | } |
| 24 | ||
| 25 | /** | |
| 26 | * @param cause | |
| 27 | */ | |
| 28 | public TransportException(Throwable cause) { | |
| 29 | 10 | super(cause); |
| 30 | 10 | } |
| 31 | ||
| 32 | /** | |
| 33 | * @param message | |
| 34 | */ | |
| 35 | public TransportException(String message) { | |
| 36 | 80 | super(message); |
| 37 | 80 | } |
| 38 | ||
| 39 | } |