TransportException.java
package org.microspace.transport;
import java.io.Serializable;
/**
* Thrown by the transport when an error occurs.
*
* @author Gaspar Sinai - {@literal gaspar.sinai@microspace.org}
* @version 2016-06-26
*/
public class TransportException extends Exception implements Serializable {
private static final long serialVersionUID = 4787013871881159712L;
public TransportException () {
super();
}
/**
* Constructs a new exception with the specified detail message.
* @param message the detail message
*/
public TransportException (String message) {
super (message);
}
/**
* Constructs a new exception with the specified detail message and cause.
* @param message the detail message
* @param cause the cause
*/
public TransportException (String message, Throwable cause) {
super(message, cause);
}
/**
* Constructs a new exception with the specified cause and a detail message of cause.
* @param cause the cause
*/
public TransportException (Throwable cause) {
super (cause);
}
}