2019-12-30 18:49:48 +01:00
|
|
|
package envoy.exception;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Kai S. K. Engelbart
|
|
|
|
* @since Envoy v0.1-alpha
|
|
|
|
*/
|
2020-08-22 13:37:07 +02:00
|
|
|
public final class EnvoyException extends Exception {
|
2019-12-30 18:49:48 +01:00
|
|
|
|
|
|
|
private static final long serialVersionUID = 2096147309395387479L;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param message the message to display once this Exception is thrown
|
|
|
|
* @since Envoy Common v0.2-alpha
|
|
|
|
*/
|
2020-10-18 15:16:46 +02:00
|
|
|
public EnvoyException(String message) {
|
|
|
|
super(message);
|
|
|
|
}
|
2019-12-30 18:49:48 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param message the message to display once this Exception is thrown
|
2020-10-18 15:16:46 +02:00
|
|
|
* @param cause the {@link Throwable} which resulted in the throw of an EnvoyException
|
2019-12-30 18:49:48 +01:00
|
|
|
* @since Envoy Common v0.2-alpha
|
|
|
|
*/
|
2020-10-18 15:16:46 +02:00
|
|
|
public EnvoyException(String message, Throwable cause) {
|
|
|
|
super(message, cause);
|
|
|
|
}
|
2019-12-30 18:49:48 +01:00
|
|
|
|
|
|
|
/**
|
2020-10-18 15:16:46 +02:00
|
|
|
* @param cause the {@link Throwable} which resulted in the throw of an EnvoyException
|
2019-12-30 18:49:48 +01:00
|
|
|
* @since Envoy Common v0.2-alpha
|
|
|
|
*/
|
2020-10-18 15:16:46 +02:00
|
|
|
public EnvoyException(Throwable cause) {
|
|
|
|
super(cause);
|
|
|
|
}
|
2019-12-30 18:49:48 +01:00
|
|
|
}
|