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

25 lines
590 B
Java
Raw Normal View History

2018-02-07 10:56:30 +01:00
package eu.eudat.exceptions.security;
2017-12-18 16:55:12 +01:00
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)
2018-02-16 11:34:02 +01:00
public class UnauthorisedException extends RuntimeException {
2017-12-18 16:55:12 +01:00
public UnauthorisedException() {
super();
}
2018-02-16 11:34:02 +01:00
2017-12-18 16:55:12 +01:00
public UnauthorisedException(String message, Throwable cause) {
super(message, cause);
}
2018-02-16 11:34:02 +01:00
2017-12-18 16:55:12 +01:00
public UnauthorisedException(String message) {
super(message);
}
2018-02-16 11:34:02 +01:00
2017-12-18 16:55:12 +01:00
public UnauthorisedException(Throwable cause) {
super(cause);
}
}