argos/dmp-backend/src/main/java/eu/eudat/exceptions/UnauthorisedException.java

22 lines
577 B
Java
Raw Normal View History

2017-12-18 16:55:12 +01:00
package eu.eudat.exceptions;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
2018-02-01 10:08:06 +01:00
2017-12-18 16:55:12 +01:00
@ResponseStatus(value = HttpStatus.UNAUTHORIZED)
public class UnauthorisedException extends RuntimeException{
public UnauthorisedException() {
super();
}
public UnauthorisedException(String message, Throwable cause) {
super(message, cause);
}
public UnauthorisedException(String message) {
super(message);
}
public UnauthorisedException(Throwable cause) {
super(cause);
}
}