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
Codec throws this exception when it doesn't understand request message's
Content-Type- Author:
- Jitendra Kotamraju
- See Also:
-
Field Summary
Fields inherited from interface com.sun.istack.localization.Localizable
NOT_LOCALIZABLE -
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedMediaException(String charset) UnsupportedMediaException(String contentType, List<String> expectedContentTypes) -
Method Summary
Modifier and TypeMethodDescriptionGets 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, getResourceBundleNameMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedMediaException
-
UnsupportedMediaException
public UnsupportedMediaException() -
UnsupportedMediaException
-
-
Method Details
-
getDefaultResourceBundleName
Description copied from class:JAXWSExceptionBaseGets the default resource bundle name for this kind of exception. Used forJAXWSExceptionBase(String, Object[]).- Specified by:
getDefaultResourceBundleNamein classJAXWSExceptionBase
-