Class UnsupportedMediaTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnsupportedMediaTypeException
    extends java.lang.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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UnsupportedMediaTypeException

        public UnsupportedMediaTypeException()
      • UnsupportedMediaTypeException

        public UnsupportedMediaTypeException​(java.lang.String arg0,
                                             java.lang.Throwable arg1)
      • UnsupportedMediaTypeException

        public UnsupportedMediaTypeException​(java.lang.String arg0)
      • UnsupportedMediaTypeException

        public UnsupportedMediaTypeException​(java.lang.Throwable arg0)