17 lines
422 B
Java
17 lines
422 B
Java
package de.ph87.office.web;
|
|
|
|
import org.springframework.http.HttpStatus;
|
|
import org.springframework.web.server.ResponseStatusException;
|
|
|
|
public class ForbiddenException extends ResponseStatusException {
|
|
|
|
public ForbiddenException(final String message) {
|
|
super(HttpStatus.FORBIDDEN, message);
|
|
}
|
|
|
|
public ForbiddenException(final String format, final Object... args) {
|
|
this(String.format(format, args));
|
|
}
|
|
|
|
}
|