Class HttpMediaTypeException

    • Constructor Detail

      • HttpMediaTypeException

        protected HttpMediaTypeException​(String message)
        Create a new HttpMediaTypeException.
        Parameters:
        message - the exception message
      • HttpMediaTypeException

        protected HttpMediaTypeException​(String message,
                                         List<MediaType> supportedMediaTypes)
        Create a new HttpMediaTypeException with a list of supported media types.
        Parameters:
        supportedMediaTypes - the list of supported media types