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:
- com.sun.istack.localization.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
Fields inherited from interface com.sun.istack.localization.Localizable |
NOT_LOCALIZABLE |
UnsupportedMediaException
public UnsupportedMediaException(@NotNull
String contentType,
List<String> expectedContentTypes)
UnsupportedMediaException
public UnsupportedMediaException()
UnsupportedMediaException
public UnsupportedMediaException(String charset)
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
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.