ForbiddenException.java

  1. package no.nav.data.common.exceptions;

  2. import org.springframework.http.HttpStatus;
  3. import org.springframework.web.bind.annotation.ResponseStatus;

  4. @ResponseStatus(HttpStatus.FORBIDDEN)
  5. public class ForbiddenException extends RuntimeException {

  6.     public ForbiddenException(String message) {
  7.         super(message);
  8.     }
  9. }