TimeoutException.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.GATEWAY_TIMEOUT)
  5. public class TimeoutException extends RuntimeException {

  6.     public TimeoutException(String message, Throwable cause) {
  7.         super(message, cause);
  8.     }
  9. }