com.sun.xml.ws.server
Class UnsupportedMediaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.xml.ws.WebServiceException
com.sun.xml.ws.util.exception.JAXWSExceptionBase
com.sun.xml.ws.server.UnsupportedMediaException
- All Implemented Interfaces:
- Localizable, Serializable
public final class UnsupportedMediaException
- extends JAXWSExceptionBase
Codec
throws this exception when it doesn't understand request message's
Content-Type
- See Also:
- Serialized Form
UnsupportedMediaException
public UnsupportedMediaException(@NotNull
String contentType,
List<String> expectedContentTypes)
UnsupportedMediaException
public UnsupportedMediaException()
getDefaultResourceBundleName
public String getDefaultResourceBundleName()
- Description copied from class:
JAXWSExceptionBase
- Gets the default resource bundle name for this kind of exception.
Used for
JAXWSExceptionBase.JAXWSExceptionBase(String, Object[])
.
- Specified by:
getDefaultResourceBundleName
in class JAXWSExceptionBase