com.sun.xml.ws.protocol.soap
Class VersionMismatchException
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.api.message.ExceptionHasMessage
com.sun.xml.ws.protocol.soap.VersionMismatchException
- All Implemented Interfaces:
- Localizable, Serializable
public class VersionMismatchException
- extends ExceptionHasMessage
This is used to represent SOAP VersionMismatchFault. Use
this when the received soap envelope is in a different namespace
than what the specified Binding says.
- See Also:
- Serialized Form
VersionMismatchException
public VersionMismatchException(SOAPVersion soapVersion,
Object... args)
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
getFaultMessage
public Message getFaultMessage()
- Description copied from class:
ExceptionHasMessage
- Returns the exception into a fault Message
- Specified by:
getFaultMessage
in class ExceptionHasMessage
- Returns:
- Message for this exception