com.sun.xml.ws.protocol.soap
Class VersionMismatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.xml.ws.WebServiceException
                  extended by com.sun.xml.ws.util.exception.JAXWSExceptionBase
                      extended by com.sun.xml.ws.api.message.ExceptionHasMessage
                          extended by 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

Field Summary
 
Fields inherited from interface com.sun.xml.ws.util.localization.Localizable
NOT_LOCALIZABLE
 
Constructor Summary
VersionMismatchException(SOAPVersion soapVersion, Object... args)
           
 
Method Summary
 String getDefaultResourceBundleName()
          Gets the default resource bundle name for this kind of exception.
 Message getFaultMessage()
          Returns the exception into a fault Message
 
Methods inherited from class com.sun.xml.ws.util.exception.JAXWSExceptionBase
getArguments, getKey, getMessage, getResourceBundleName
 
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
 

Constructor Detail

VersionMismatchException

public VersionMismatchException(SOAPVersion soapVersion,
                                Object... args)
Method Detail

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