Class RESTHandlerUnsupportedMediaType
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.ibm.wsspi.rest.handler.helper.RESTHandlerUnsupportedMediaType
-
- All Implemented Interfaces:
java.io.Serializable
public class RESTHandlerUnsupportedMediaType extends java.lang.RuntimeException
This error is thrown by the RESTHandlerContainer when a request's media type is not supported.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RESTHandlerUnsupportedMediaType(java.lang.String mediaType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatusCode()
void
setStatusCode(int code)
-