Class NotAcceptableApiVersionException

All Implemented Interfaces:
Serializable, ErrorResponse

public class NotAcceptableApiVersionException extends InvalidApiVersionException
Exception raised when an API version is valid, but did not match the versions declared in request mappings for the endpoint. This can happen when a controller method is mapped with a fixed version, e.g. "2", but the request is for a higher version.
Since:
7.0
Author:
Rossen Stoyanchev
See Also:
  • Constructor Details

    • NotAcceptableApiVersionException

      public NotAcceptableApiVersionException(String version)