me.desair.tus.server.exception.TusException Maven / Gradle / Ivy
package me.desair.tus.server.exception;
/**
* Super class for exception in the tus protocol
*/
public class TusException extends Exception {
private int status;
public TusException(int status, String message) {
this(status, message, null);
}
public TusException(int status, String message, Throwable e) {
super(message, e);
this.status = status;
}
public int getStatus() {
return status;
}
}