Class NotAcceptable

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.juneau.BasicRuntimeException
org.apache.juneau.http.response.BasicHttpException
org.apache.juneau.http.response.NotAcceptable
All Implemented Interfaces:
Serializable, HttpMessage, HttpResponse

@Response @StatusCode(406) @Schema(description="Not Acceptable") public class NotAcceptable extends BasicHttpException
Exception representing an HTTP 406 (Not Acceptable).
The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
See Also: