Class UnsupportedMediaTypeException

  • All Implemented Interfaces:
    Serializable

    public class UnsupportedMediaTypeException
    extends RuntimeException
    The request entity has a Content-Type that the server does not support. Almost all of the Bitbucket REST API accepts application/json format, but check the individual resource documentation for more details. Additionally, double-check that you are setting the Content-Type header correctly on your request (e.g. using -H "Content-Type: application/json" in cURL).
    See Also:
    Serialized Form
    • Constructor Detail

      • UnsupportedMediaTypeException

        public UnsupportedMediaTypeException()
      • UnsupportedMediaTypeException

        public UnsupportedMediaTypeException​(String arg0,
                                             Throwable arg1)
      • UnsupportedMediaTypeException

        public UnsupportedMediaTypeException​(String arg0)
      • UnsupportedMediaTypeException

        public UnsupportedMediaTypeException​(Throwable arg0)