Package com.sun.xml.ws.server
Class UnsupportedMediaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.xml.ws.WebServiceException
-
- com.sun.xml.ws.util.exception.JAXWSExceptionBase
-
- com.sun.xml.ws.server.UnsupportedMediaException
-
- All Implemented Interfaces:
com.sun.istack.localization.Localizable
,com.sun.istack.localization.LocalizableMessageFactory.ResourceBundleSupplier
,Serializable
public final class UnsupportedMediaException extends JAXWSExceptionBase
Codec
throws this exception when it doesn't understand request message's Content-Type- Author:
- Jitendra Kotamraju
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedMediaException()
UnsupportedMediaException(String charset)
UnsupportedMediaException(String contentType, List<String> expectedContentTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultResourceBundleName()
Gets the default resource bundle name for this kind of exception.-
Methods inherited from class com.sun.xml.ws.util.exception.JAXWSExceptionBase
getArguments, getKey, getMessage, getResourceBundle, getResourceBundleName
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getDefaultResourceBundleName
public String getDefaultResourceBundleName()
Description copied from class:JAXWSExceptionBase
Gets the default resource bundle name for this kind of exception. Used forJAXWSExceptionBase(String, Object[])
.- Specified by:
getDefaultResourceBundleName
in classJAXWSExceptionBase
- Returns:
-
-