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:
- com.sun.istack.localization.Localizable, java.io.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
| Fields inherited from interface com.sun.istack.localization.Localizable |
NOT_LOCALIZABLE |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VersionMismatchException
public VersionMismatchException(SOAPVersion soapVersion,
java.lang.Object... args)
getDefaultResourceBundleName
public java.lang.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
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.