Class UnsupportedMediaTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.cdancy.jenkins.rest.exception.UnsupportedMediaTypeException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnsupportedMediaTypeException extends java.lang.RuntimeExceptionThe 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 Summary
Constructors Constructor Description UnsupportedMediaTypeException()UnsupportedMediaTypeException(java.lang.String arg0)UnsupportedMediaTypeException(java.lang.String arg0, java.lang.Throwable arg1)UnsupportedMediaTypeException(java.lang.Throwable arg0)
-
-
-
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)
-
-