package eu.freme.broker.exception;

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

/**
 * @author Gerald Haesendonck
 */
@SuppressWarnings("serial")
@ResponseStatus(value= HttpStatus.BAD_REQUEST, reason="Invalid input")
public class NotAcceptableException extends FREMEHttpException {
	public NotAcceptableException(String msg) {
		super(msg);
	}
}

@@ -241,19 +241,22 @@
 tus.
-BAD_REQUEST
+NOT_ACCEPTABLE
 , re

Corrected response code of "Not Acceptable" exception